Export (0) Print
Expand All

ChannelTerminatedException Constructor

Initializes a new instance of the ChannelTerminatedException class.

If you want to pass an error message to the user, use the ChannelTerminatedException(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 ChannelTerminatedException(String,Exception) constructor.

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

Name Description
ChannelTerminatedException () Initializes a new instance of the ChannelTerminatedException class.
ChannelTerminatedException (String) Initializes a new instance of the ChannelTerminatedException class with a specified error message.
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.

Community Additions

ADD
Show:
© 2015 Microsoft