EndpointNotFoundException Constructor
Initializes a new instance of the EndpointNotFoundException class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Name | Description | |
|---|---|---|
![]() | EndpointNotFoundException() | Initializes a new instance of the EndpointNotFoundException class. |
![]() | EndpointNotFoundException(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. |
![]() | EndpointNotFoundException(String^) | Initializes a new instance of the EndpointNotFoundException class with a specified error message. |
![]() | EndpointNotFoundException(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.

