Muokkaa

Jaa


ServiceNotStartedException Constructors

Definition

Initializes an instance of the ServiceNotStartedException class.

Overloads

ServiceNotStartedException()

Initializes an instance of the ServiceNotStartedException class.

ServiceNotStartedException(String)

Initializes an instance of the ServiceNotStartedException class with the specified error message.

ServiceNotStartedException(SerializationInfo, StreamingContext)

Initializes an instance of the ServiceNotStartedException class with serialized data.

ServiceNotStartedException(String, Exception)

Initializes an instance of the ServiceNotStartedException class with the specified error message and a reference to the inner exception that is the cause of this exception.

ServiceNotStartedException()

Initializes an instance of the ServiceNotStartedException class.

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

Applies to

ServiceNotStartedException(String)

Initializes an instance of the ServiceNotStartedException class with the specified error message.

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)

Parameters

message
String

The message that describes the error.

Applies to

ServiceNotStartedException(SerializationInfo, StreamingContext)

Initializes an instance of the ServiceNotStartedException class with serialized data.

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)

Parameters

info
SerializationInfo

The SerializationInfo object that contains the serialized object data about the exception that is being thrown.

context
StreamingContext

The StreamingContext object that contains contextual information about the source or destination.

Applies to

ServiceNotStartedException(String, Exception)

Initializes an instance of the ServiceNotStartedException class with the specified error message and a reference to the inner exception that is the cause of this exception.

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)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to