Uredi

Deli z drugimi prek


ReflectionTypeLoadException.LoaderExceptions Property

Definition

Gets the array of exceptions thrown by the class loader.

public:
 property cli::array <Exception ^> ^ LoaderExceptions { cli::array <Exception ^> ^ get(); };
public Exception[] LoaderExceptions { get; }
public Exception?[] LoaderExceptions { get; }
public Exception?[]? LoaderExceptions { get; }
member this.LoaderExceptions : Exception[]
Public ReadOnly Property LoaderExceptions As Exception()

Property Value

An array of type Exception containing the exceptions thrown by the class loader. The null values in the Types array of this instance line up with the exceptions in this array.

Remarks

The LoaderExceptions property retrieves an array of type Exception that is parallel to the Types array. This array will contain null values whenever reflection cannot load a class.

Applies to