Udostępnij za pośrednictwem


EndpointNotFoundException Constructors

Definition

Overloads

EndpointNotFoundException()

Creates a new instance of the EndpointNotFoundException class.

EndpointNotFoundException(String)

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

EndpointNotFoundException(SerializationInfo, StreamingContext)

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

EndpointNotFoundException(String, Exception)

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

EndpointNotFoundException()

Creates a new instance of the EndpointNotFoundException class.

public EndpointNotFoundException ();
Public Sub New ()

Applies to

EndpointNotFoundException(String)

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

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

Parameters

message
String

The message that describes the error.

Applies to

EndpointNotFoundException(SerializationInfo, StreamingContext)

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

protected EndpointNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Relay.EndpointNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Relay.EndpointNotFoundException
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

EndpointNotFoundException(String, Exception)

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

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