Edit

ChannelTerminatedException Class

Definition

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
ChannelTerminatedException
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.

Applies to