SecurityServices for .NET 2.0 Documentation

CredentialException.GetObjectDataMethod

[This is preliminary documentation and subject to change.]

When overridden in a derived class, sets the SerializationInfo with information about the exception.

publicoverridevoidGetObjectData(
SerializationInfoinfo,
StreamingContextcontext
);

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.

Implements

ISerializable.

Exceptions

Exception Type Condition
ArgumentNullException The info parameter is a null reference.

See Also

CredentialException Class | Org.Mentalis.SecurityServices.Authentication Namespace