Class HandshakeException
Provides an exception for handshake errors in the protocol connection.
public class HandshakeException : Exception, ISerializable
- Inheritance
-
HandshakeException
- Implements
- Inherited Members
Constructors
HandshakeException()
Initializes a new instance of the HandshakeException class.
public HandshakeException()
HandshakeException(SerializationInfo, StreamingContext)
Initializes a new instance of the HandshakeException class with serialized data.
protected HandshakeException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe object that holds the serialized object data.
context
StreamingContextThe contextual information about the source or destination.
HandshakeException(string)
Initializes a new instance of the HandshakeException class with a specified error message.
public HandshakeException(string message)
Parameters
message
stringThe message for the exception.
HandshakeException(string, Exception)
Initializes a new instance of the HandshakeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public HandshakeException(string message, Exception innerException)