EndpointNotFoundException Constructor

 

Initializes a new instance of the EndpointNotFoundException class.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

NameDescription
System_CAPS_pubmethodEndpointNotFoundException()

Initializes a new instance of the EndpointNotFoundException class.

System_CAPS_protmethodEndpointNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the EndpointNotFoundException class with data that specifies the source and destination of the stream and the information required to serialize the exception.

System_CAPS_pubmethodEndpointNotFoundException(String)

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

System_CAPS_pubmethodEndpointNotFoundException(String, Exception)

Initializes a new instance of the EndpointNotFoundException class with a specified error message and the inner exception that caused the current exception.

If you want to pass an error message to the user, use the EndpointNotFoundException(String) constructor.

If you want to pass an error message and a reference to the inner exception that is the cause of the exception to the user, use the EndpointNotFoundException(String, Exception) constructor.

If you want to pass serialization information and streaming context, use the EndpointNotFoundException(SerializationInfo, StreamingContext) constructor.

Return to top
Show: