Rediger

Del via


ServiceBusyException Constructors

Definition

Initializes an instance of the ServiceBusyException class.

Overloads

ServiceBusyException()

Initializes an instance of the ServiceBusyException class.

ServiceBusyException(String)

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

ServiceBusyException(SerializationInfo, StreamingContext)

Initializes an instance of the ServiceBusyException class with serialization information and streaming context specified.

ServiceBusyException(String, Exception)

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

ServiceBusyException()

Initializes an instance of the ServiceBusyException class.

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

Applies to

ServiceBusyException(String)

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

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

Parameters

message
String

The message that describes the error.

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error. The content of the message should also be understandable to the user.

Applies to

ServiceBusyException(SerializationInfo, StreamingContext)

Initializes an instance of the ServiceBusyException class with serialization information and streaming context specified.

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

Parameters

info
SerializationInfo

The SerializationInfo object that holds 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.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

Applies to

ServiceBusyException(String, Exception)

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

public:
 ServiceBusyException(System::String ^ message, Exception ^ innerException);
public ServiceBusyException (string message, Exception innerException);
new System.IdentityModel.Selectors.ServiceBusyException : string * Exception -> System.IdentityModel.Selectors.ServiceBusyException
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.

Remarks

An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property. The InnerException property returns the same value that is passed into the constructor, or null if the InnerException property does not supply the inner exception value to the constructor.

Applies to