ExtensionLoadError Constructor (String, ErrorCategory)
Initializes a new instance of the ExtensionLoadError class.
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
category As ErrorCategory _
)
'Usage
Dim message As String
Dim category As ErrorCategory
Dim instance As New ExtensionLoadError(message, _
category)
public ExtensionLoadError(
string message,
ErrorCategory category
)
public:
ExtensionLoadError(
String^ message,
ErrorCategory category
)
public function ExtensionLoadError(
message : String,
category : ErrorCategory
)
new :
message:string *
category:ErrorCategory -> ExtensionLoadError
Parameters
- message
Type: System.String
The error message
- category
Type: Microsoft.Data.Schema.Extensibility.ErrorCategory
The error category
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.