語言

ServiceNotStartedException 建構函式

定義

初始化該 ServiceNotStartedException 類別的實例。

多載

名稱 Description
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

該例外即為當前例外的原因。

適用於