SqlTraceFailToLoadInstAPIAssemblyException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 SqlTraceFailToLoadInstAPIAssemblyException 类的新实例。
重载
SqlTraceFailToLoadInstAPIAssemblyException()
初始化 SqlTraceFailToLoadInstAPIAssemblyException 类的新实例。
public:
SqlTraceFailToLoadInstAPIAssemblyException();
public SqlTraceFailToLoadInstAPIAssemblyException ();
Public Sub New ()
示例
适用于
SqlTraceFailToLoadInstAPIAssemblyException(String)
使用指定的消息初始化 SqlTraceFailToLoadInstAPIAssemblyException 类的新实例。
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)
参数
示例
适用于
SqlTraceFailToLoadInstAPIAssemblyException(SerializationInfo, StreamingContext)
使用指定的序列化信息和指定的流上下文初始化 SqlTraceFailToLoadInstAPIAssemblyException 类的新实例。
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)
参数
- info
- SerializationInfo
一个 SerializationInfo 对象值,该值指定“SQL 跟踪未能加载 Inst API 程序集”异常的序列化信息。
- context
- StreamingContext
一个 StreamingContext 对象值,该值指定“SQL 跟踪未能加载 Inst API 程序集”异常的流上下文。
示例
适用于
SqlTraceFailToLoadInstAPIAssemblyException(String, Exception)
使用指定的消息和内部异常初始化 SqlTraceFailToLoadInstAPIAssemblyException 类的新实例。
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)
参数
示例
适用于
SqlTraceFailToLoadInstAPIAssemblyException(Type, String)
使用指定的消息源和消息初始化 SqlTraceFailToLoadInstAPIAssemblyException 类的新实例。
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)