Udostępnij za pośrednictwem


EndpointAlreadyExistsException Constructors

Definition

Overloads

EndpointAlreadyExistsException()

Creates a new instance of the EndpointAlreadyExistsException class.

EndpointAlreadyExistsException(String)

Creates a new instance of the EndpointAlreadyExistsException class with a specified error message.

EndpointAlreadyExistsException(SerializationInfo, StreamingContext)

Creates a new instance of the EndpointAlreadyExistsException class with serialized data.

EndpointAlreadyExistsException(String, Exception)

Creates a new instance of the EndpointAlreadyExistsException class with a specified error message and a reference to the inner exception that is the cause of this exception.

EndpointAlreadyExistsException()

Creates a new instance of the EndpointAlreadyExistsException class.

public EndpointAlreadyExistsException ();
Public Sub New ()

Applies to

EndpointAlreadyExistsException(String)

Creates a new instance of the EndpointAlreadyExistsException class with a specified error message.

public EndpointAlreadyExistsException (string message);
new Microsoft.Azure.Relay.EndpointAlreadyExistsException : string -> Microsoft.Azure.Relay.EndpointAlreadyExistsException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

EndpointAlreadyExistsException(SerializationInfo, StreamingContext)

Creates a new instance of the EndpointAlreadyExistsException class with serialized data.

protected EndpointAlreadyExistsException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Relay.EndpointAlreadyExistsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Relay.EndpointAlreadyExistsException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

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

context
StreamingContext

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

Applies to

EndpointAlreadyExistsException(String, Exception)

Creates a new instance of the EndpointAlreadyExistsException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public EndpointAlreadyExistsException (string message, Exception innerException);
new Microsoft.Azure.Relay.EndpointAlreadyExistsException : string * Exception -> Microsoft.Azure.Relay.EndpointAlreadyExistsException
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