Share via


CertificateException Class

 

The exception thrown when a certificate error occurs.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    System.Web.Security.SingleSignOn.CertificateException
      System.Web.Security.SingleSignOn.CertificateHasNoPrivateKeyException
      System.Web.Security.SingleSignOn.CertificateNotFoundException

Syntax

[SerializableAttribute]
public abstract class CertificateException : Exception, ISerializable
[SerializableAttribute]
public ref class CertificateException abstract : Exception, ISerializable
[<AbstractClass>]
[<SerializableAttribute>]
type CertificateException = 
    class
        inherit Exception
        interface ISerializable
    end
<SerializableAttribute>
Public MustInherit Class CertificateException
    Inherits Exception
    Implements ISerializable

Constructors

Name Description
System_CAPS_protmethod CertificateException(SerializationInfo, StreamingContext)

Creates an instance of the CertificateException class using the specified serialization data and streaming contextual data.

System_CAPS_protmethod CertificateException(String, String)

Creates an instance of the CertificateException class using the specified resource data and thumbprint of a certificate.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_protproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

Gets a message that describes the current exception.(Overrides Exception.Message.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

System_CAPS_pubproperty Thumbprint

Gets or sets the thumbprint of the certificate that generated this exception.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Security.SingleSignOn Namespace

Return to top