ServiceNotStartedException 建構函式

定義

初始化 ServiceNotStartedException 類別的執行個體。

多載

ServiceNotStartedException()

初始化 ServiceNotStartedException 類別的執行個體。

ServiceNotStartedException(String)

使用指定的錯誤訊息,初始化 ServiceNotStartedException 類別的執行個體。

ServiceNotStartedException(SerializationInfo, StreamingContext)

使用序列化的資料,初始化 ServiceNotStartedException 類別的執行個體。

ServiceNotStartedException(String, Exception)

使用指定的錯誤訊息以及此例外原因之內部例外狀況的參考,初始化 ServiceNotStartedException 類別的執行個體。

ServiceNotStartedException()

初始化 ServiceNotStartedException 類別的執行個體。

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

適用於

ServiceNotStartedException(String)

使用指定的錯誤訊息,初始化 ServiceNotStartedException 類別的執行個體。

public:
 ServiceNotStartedException(System::String ^ message);
public ServiceNotStartedException (string message);
new System.IdentityModel.Selectors.ServiceNotStartedException : string -> System.IdentityModel.Selectors.ServiceNotStartedException
Public Sub New (message As String)

參數

message
String

描述錯誤的訊息。

適用於

ServiceNotStartedException(SerializationInfo, StreamingContext)

使用序列化的資料,初始化 ServiceNotStartedException 類別的執行個體。

protected:
 ServiceNotStartedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ServiceNotStartedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IdentityModel.Selectors.ServiceNotStartedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IdentityModel.Selectors.ServiceNotStartedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

SerializationInfo 物件,包含關於擲回例外狀況的序列化物件資料。

context
StreamingContext

StreamingContext 物件,其中包含來源或目的地的相關內容資訊。

適用於

ServiceNotStartedException(String, Exception)

使用指定的錯誤訊息以及此例外原因之內部例外狀況的參考,初始化 ServiceNotStartedException 類別的執行個體。

public:
 ServiceNotStartedException(System::String ^ message, Exception ^ innerException);
public ServiceNotStartedException (string message, Exception innerException);
new System.IdentityModel.Selectors.ServiceNotStartedException : string * Exception -> System.IdentityModel.Selectors.ServiceNotStartedException
Public Sub New (message As String, innerException As Exception)

參數

message
String

描述錯誤的訊息。

innerException
Exception

做為目前例外狀況發生原因的例外狀況。

適用於