Class TspValidationException
- Namespace
- Org.BouncyCastle.Tsp
- Assembly
- BouncyCastle.Cryptography.dll
[Serializable]
public class TspValidationException : TspException, ISerializable
- Inheritance
-
TspValidationException
- Implements
- Inherited Members
Constructors
TspValidationException(SerializationInfo, StreamingContext)
protected TspValidationException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
TspValidationException(string)
public TspValidationException(string message)
Parameters
messagestring
TspValidationException(string, int)
public TspValidationException(string message, int failureCode)
Parameters
Fields
m_failureCode
protected readonly int m_failureCode
Field Value
Properties
FailureCode
public int FailureCode { get; }
Property Value
- int
The failure code associated with this exception, if one is set.
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
infoparameter is a null reference (Nothingin Visual Basic).