WindowsRuntimeMetadata.ReflectionOnlyNamespaceResolve Event
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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;
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.ReflectionOnlyNamespaceResolve : EventHandler<System.Runtime.InteropServices.WindowsRuntime.NamespaceResolveEventArgs>
Public Shared Custom Event ReflectionOnlyNamespaceResolve As EventHandler(Of NamespaceResolveEventArgs)
Public Shared Event ReflectionOnlyNamespaceResolve As EventHandler(Of NamespaceResolveEventArgs)
- Attributes
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.
Важно
The event handler for this event should not throw exceptions.
Продукт | Версии |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: