语言

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

是当前异常原因的异常。

适用于