SecurityServices for .NET 2.0 Documentation

CredentialException Constructor (SerializationInfo, StreamingContext)

[This is preliminary documentation and subject to change.]

Initializes a new instance of the Exception class with serialized data.

protected CredentialException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
StreamingContext
The StreamingContext that contains contextual information about the source or destination.

Exceptions

Exception Type Condition
ArgumentNullException The info parameter is a null reference.
SerializationException The class name is a null reference or HResult is zero (0).

See Also

CredentialException Class | Org.Mentalis.SecurityServices.Authentication Namespace | CredentialException Constructor Overload List