SqlTraceFailToLoadInstAPIAssemblyException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 SqlTraceFailToLoadInstAPIAssemblyException 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| SqlTraceFailToLoadInstAPIAssemblyException() |
初始化 SqlTraceFailToLoadInstAPIAssemblyException 類別的新執行個體。 |
| SqlTraceFailToLoadInstAPIAssemblyException(String) |
初始化一個新的類別實例 SqlTraceFailToLoadInstAPIAssemblyException ,並以指定訊息進行。 |
| SqlTraceFailToLoadInstAPIAssemblyException(SerializationInfo, StreamingContext) |
初始化一個新的類別實例 SqlTraceFailToLoadInstAPIAssemblyException ,並依指定的序列化資訊與串流上下文。 |
| SqlTraceFailToLoadInstAPIAssemblyException(String, Exception) |
初始化類別的新實例 SqlTraceFailToLoadInstAPIAssemblyException ,並帶有指定的訊息與內部例外。 |
| SqlTraceFailToLoadInstAPIAssemblyException(Type, String) |
初始化一個新的類別實例 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 Trace Failed to Load Inst API 組合語言例外的序列化資訊。
- context
- StreamingContext
一個 StreamingContext 物件值,用來指定 SQL Trace Failed to Load 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)