Table of Contents

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

info SerializationInfo
context StreamingContext

TspValidationException(string)

public TspValidationException(string message)

Parameters

message string

TspValidationException(string, int)

public TspValidationException(string message, int failureCode)

Parameters

message string
failureCode int

Fields

m_failureCode

protected readonly int m_failureCode

Field Value

int

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

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter is a null reference (Nothing in Visual Basic).