Share via


CertificateException.GetObjectData Method (SerializationInfo, StreamingContext)

 

Sets the SerializationInfo with information about the exception.

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

Syntax

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
    SerializationInfo serializationInfo,
    StreamingContext streamingContext
)
public:
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
virtual void GetObjectData(
    SerializationInfo^ serializationInfo,
    StreamingContext streamingContext
) override
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
override GetObjectData : 
        serializationInfo:SerializationInfo *
        streamingContext:StreamingContext -> unit
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)>
Public Overrides Sub GetObjectData (
    serializationInfo As SerializationInfo,
    streamingContext As StreamingContext
)

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)ISerializable.GetObjectData(SerializationInfo, StreamingContext)_Exception.GetObjectData(SerializationInfo, StreamingContext)

See Also

CertificateException Class
System.Web.Security.SingleSignOn Namespace

Return to top