System.Runtime.InteropServices.WindowsRuntime.WindowsRuntimeMetadata.ReflectionOnlyNamespaceResolve Event

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

Syntax

public static event EventHandler<NamespaceResolveEventArgs> ReflectionOnlyNamespaceResolve

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 AppDomain.ReflectionOnlyAssemblyResolve event for managed assemblies.

See the System.Runtime.InteropServices.WindowsRuntime.NamespaceResolveEventArgs class.

Note:

The event handler for this event should not throw exceptions.

Requirements

Namespace: System.Runtime.InteropServices.WindowsRuntime
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0