ChannelTerminatedException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This exception is typically thrown on the client when a channel is terminated due to server closing the associated connection.
public ref class ChannelTerminatedException : System::ServiceModel::CommunicationException
public class ChannelTerminatedException : System.ServiceModel.CommunicationException
type ChannelTerminatedException = class
inherit CommunicationException
Public Class ChannelTerminatedException
Inherits CommunicationException
- Inheritance
- Attributes
Remarks
This exception derives from CommunicationException that represents a class of recoverable errors that may be thrown during communication between endpoints and which robust Windows Communication Foundation (WCF) client and service applications are expected to handle. To prevent the more generic CommunicationException handler from catching the more specific ActionNotSupportedException, catch this exception prior to handling CommunicationException.
Constructors
| Name | Description |
|---|---|
| ChannelTerminatedException() |
Initializes a new instance of the ChannelTerminatedException class. |
| ChannelTerminatedException(SerializationInfo, StreamingContext) |
Initializes a new instance of the ChannelTerminatedException class with serialization information and streaming context specified. |
| ChannelTerminatedException(String, Exception) |
Initializes a new instance of the ChannelTerminatedException class with a specified error message and a reference to the inner exception that is the cause of the exception. |
| ChannelTerminatedException(String) |
Initializes a new instance of the ChannelTerminatedException class with a specified error message. |