mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.EventArgs System.Runtime.InteropServices.ComVisible(true)

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 contains information about the item to be resolved.

The property contains the name of the item to be resolved.

Beginning with the net_v40_long, the property contains the assembly that requested an assembly that can provide the named item. For more information, see the property.

Provides data for loader resolution events, such as the , , , and events.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  This constructor is typically called only by the common language runtime.

  Initializes a new instance of the class, specifying the name of the item to resolve.

  The name of an item to resolve.
- Constructor
  4.0.0.0
  To be added.

  Initializes a new instance of the class, specifying the name of the item to resolve and the assembly whose dependency is being resolved.

  The name of an item to resolve.
  The assembly whose dependency is being resolved.
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.String Full name of the assembly.

  For the event, is the assembly name before policy is applied.

  Gets the name of the item to resolve.

- Property
  4.0.0.0
  System.Reflection.Assembly To be added.

  The assembly that is returned by this property is an assembly that was unable to resolve the item specified by the property, because the item did not exist in that assembly, in any of its loaded dependencies, or in any dependencies the loader could find through probing.

  For example, suppose the current assembly uses the method to load assembly A from a directory outside the probing path, in order to use class CA. Suppose further that class CA uses class CB, in assembly B, and that assembly A has a compile-time reference to assembly B, also located outside the probing path. When the current assembly attempts to instantiate CA, the loader attempts to resolve the reference to assembly B. However, because assembly A was loaded by using the method, the loader cannot resolve the dependency. If there is a handler for the event, the event is raised, and the property of the resulting object contains assembly A, because assembly A is the assembly that is missing a dependency.

  The semantics of the property vary, depending on how the requesting assembly was loaded:

  Load context: The value of the property might be null. The load context is load-order independent, and the identity of the requesting assembly is not necessarily meaningful. A non-null example occurs when the method is called and the specified type is not known to the requesting assembly or any of its dependencies.

  Load-from context: The property can be used as a probing hint, but the event handler should not get more than one request for a given assembly name.

  No context (that is, the requesting assembly was loaded by using the method, or as a byte stream, or in mixed mode): The handler can use the property to load different implementations of the same assembly based on the identity of the requesting assembly.

  Gets the assembly whose dependency is being resolved.