Reflection objects can no longer be passed from managed code to out-of-process DCOM clients. The following types are affected:
- xref:System.Reflection.Assembly?displayProperty=fullName
- xref:System.Reflection.MemberInfo?displayProperty=fullName (and its derived types, including xref:System.Reflection.FieldInfo?displayProperty=fullName, xref:System.Reflection.MethodInfo?displayProperty=fullName, xref:System.Type?displayProperty=fullName, and xref:System.Reflection.TypeInfo?displayProperty=fullName)
- xref:System.Reflection.MethodBody?displayProperty=fullName
- xref:System.Reflection.Module?displayProperty=fullName
- xref:System.Reflection.ParameterInfo?displayProperty=fullName
Calls to IMarshal
for the object return E_NOINTERFACE
.
Update marshaling code to work with non-reflection objects.
Name | Value |
---|---|
Scope | Minor |
Version | 4.6 |
Type | Runtime |
- xref:System.Reflection.Assembly?displayProperty=fullName
- xref:System.Reflection.FieldInfo?displayProperty=fullName
- xref:System.Reflection.MemberInfo?displayProperty=fullName
- xref:System.Reflection.MethodBody?displayProperty=fullName
- xref:System.Reflection.MethodInfo?displayProperty=fullName
- xref:System.Reflection.Module?displayProperty=fullName
- xref:System.Reflection.ParameterInfo?displayProperty=fullName
- xref:System.Reflection.TypeInfo?displayProperty=fullName
- xref:System.Type?displayProperty=fullName