Skip to main content

CustomAssemblyLoadingProhibitedException(String, String) Constructor

In This Article

Initializes a new instance of the CustomAssemblyLoadingProhibitedException class with the specified settings.

Namespace: DevExpress.DataAccess.EntityFramework

Assembly: DevExpress.DataAccess.v24.2.dll

NuGet Package: DevExpress.DataAccess

#Declaration

public CustomAssemblyLoadingProhibitedException(
    string assemblyPath,
    string contextName
)

#Parameters

Name Type Description
assemblyPath String

A String value, specifying the path to a custom assembly. This value is assigned to the CustomAssemblyLoadingProhibitedException.AssemblyPath property.

contextName String

A String value, specifying the type to load from a custom assembly. This value is assigned to the CustomAssemblyLoadingProhibitedException.ContextName property.

See Also