Share via


SqlTraceFailToLoadInstAPIAssemblyException Constructors

Definition

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class.

Overloads

SqlTraceFailToLoadInstAPIAssemblyException()

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class.

SqlTraceFailToLoadInstAPIAssemblyException(String)

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class with the specified message.

SqlTraceFailToLoadInstAPIAssemblyException(SerializationInfo, StreamingContext)

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class with the specified serialization information and the specified streaming context.

SqlTraceFailToLoadInstAPIAssemblyException(String, Exception)

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class with the specified message and inner exception.

SqlTraceFailToLoadInstAPIAssemblyException(Type, String)

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class with the specified message source and message.

SqlTraceFailToLoadInstAPIAssemblyException()

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class.

public:
 SqlTraceFailToLoadInstAPIAssemblyException();
public SqlTraceFailToLoadInstAPIAssemblyException ();
Public Sub New ()

Examples

Handling SMO Exceptions

Applies to

SqlTraceFailToLoadInstAPIAssemblyException(String)

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class with the specified message.

public:
 SqlTraceFailToLoadInstAPIAssemblyException(System::String ^ message);
public SqlTraceFailToLoadInstAPIAssemblyException (string message);
new Microsoft.SqlServer.Management.Trace.SqlTraceFailToLoadInstAPIAssemblyException : string -> Microsoft.SqlServer.Management.Trace.SqlTraceFailToLoadInstAPIAssemblyException
Public Sub New (message As String)

Parameters

message
String

A String value that specifies the message associated with the general SQL Trace Fail to Load Inst API Assembly exception.

Examples

Handling SMO Exceptions

Applies to

SqlTraceFailToLoadInstAPIAssemblyException(SerializationInfo, StreamingContext)

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class with the specified serialization information and the specified streaming context.

protected:
 SqlTraceFailToLoadInstAPIAssemblyException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SqlTraceFailToLoadInstAPIAssemblyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.Management.Trace.SqlTraceFailToLoadInstAPIAssemblyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.Management.Trace.SqlTraceFailToLoadInstAPIAssemblyException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

A SerializationInfo object value that specifies the serialization information for the SQL Trace Fail to Load Inst API Assembly exception.

context
StreamingContext

A StreamingContext object value that specifies the streaming context for the SQL Trace Fail to Load Inst API Assembly exception.

Examples

Handling SMO Exceptions

Applies to

SqlTraceFailToLoadInstAPIAssemblyException(String, Exception)

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class with the specified message and inner exception.

public:
 SqlTraceFailToLoadInstAPIAssemblyException(System::String ^ message, Exception ^ innerException);
public SqlTraceFailToLoadInstAPIAssemblyException (string message, Exception innerException);
new Microsoft.SqlServer.Management.Trace.SqlTraceFailToLoadInstAPIAssemblyException : string * Exception -> Microsoft.SqlServer.Management.Trace.SqlTraceFailToLoadInstAPIAssemblyException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A String value that specifies the message associated with the general SQL Trace Fail to Load Inst API Assembly exception.

innerException
Exception

An Exception object value that specifies the inner exception for the SQL Trace Fail to Load Inst API Assembly exception.

Examples

Handling SMO Exceptions

Applies to

SqlTraceFailToLoadInstAPIAssemblyException(Type, String)

Initializes a new instance of the SqlTraceFailToLoadInstAPIAssemblyException class with the specified message source and message.

public:
 SqlTraceFailToLoadInstAPIAssemblyException(Type ^ messageSource, System::String ^ messageID);
public SqlTraceFailToLoadInstAPIAssemblyException (Type messageSource, string messageID);
new Microsoft.SqlServer.Management.Trace.SqlTraceFailToLoadInstAPIAssemblyException : Type * string -> Microsoft.SqlServer.Management.Trace.SqlTraceFailToLoadInstAPIAssemblyException
Public Sub New (messageSource As Type, messageID As String)

Parameters

messageSource
Type

A Type system object value that specifies the source of the message.

messageID
String

A String value that specifies the message associated with the general SQL Trace Fail to Load Inst API Assembly exception.

Examples

Handling SMO Exceptions

Applies to