WindowsRuntimeMetadata.ReflectionOnlyNamespaceResolve WindowsRuntimeMetadata.ReflectionOnlyNamespaceResolve WindowsRuntimeMetadata.ReflectionOnlyNamespaceResolve WindowsRuntimeMetadata.ReflectionOnlyNamespaceResolve Event

Definition

Occurs when the resolution of a Windows Metadata file fails in the reflection-only context.

public:
 static event EventHandler<System::Runtime::InteropServices::WindowsRuntime::NamespaceResolveEventArgs ^> ^ ReflectionOnlyNamespaceResolve;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public static event EventHandler<System.Runtime.InteropServices.WindowsRuntime.NamespaceResolveEventArgs> ReflectionOnlyNamespaceResolve;
member this.ReflectionOnlyNamespaceResolve : EventHandler<System.Runtime.InteropServices.WindowsRuntime.NamespaceResolveEventArgs> 
Public Shared Custom Event ReflectionOnlyNamespaceResolve As EventHandler(Of NamespaceResolveEventArgs) 
Attributes

Remarks

After this event is raised and handled, it is not raised again for the lifetime of the application domain. The list of files that defines the namespace cannot be changed. This event is analogous to the ReflectionOnlyAssemblyResolve event for managed assemblies.

See the NamespaceResolveEventArgs class.

Important

The event handler for this event should not throw exceptions.

Security

SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to

See also