ResolveEventArgs Class
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.
Provides data for loader resolution events, such as the TypeResolve, ResourceResolve, ReflectionOnlyAssemblyResolve, and AssemblyResolve events.
public ref class ResolveEventArgs : EventArgs
public class ResolveEventArgs : EventArgs
[System.Runtime.InteropServices.ComVisible(true)]
public class ResolveEventArgs : EventArgs
type ResolveEventArgs = class
inherit EventArgs
[<System.Runtime.InteropServices.ComVisible(true)>]
type ResolveEventArgs = class
inherit EventArgs
Public Class ResolveEventArgs
Inherits EventArgs
- Inheritance
- Attributes
When the loader cannot resolve an assembly reference and a handler has been provided for the appropriate loader resolution event, the event is raised and the ResolveEventArgs contains information about the item to be resolved.
The Name property contains the name of the item to be resolved.
Beginning with the .NET Framework 4, the RequestingAssembly property contains the assembly that requested an assembly that can provide the named item. For more information, see the RequestingAssembly property.
Resolve |
Initializes a new instance of the ResolveEventArgs class, specifying the name of the item to resolve and the assembly whose dependency is being resolved. |
Resolve |
Initializes a new instance of the ResolveEventArgs class, specifying the name of the item to resolve. |
Name |
Gets the name of the item to resolve. |
Requesting |
Gets the assembly whose dependency is being resolved. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 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 Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: