Share via


CredentialsVerificationException.GetObjectData Method (SerializationInfo, StreamingContext)

 

This method supports the AD FS infrastructure and is not intended to be used directly from your code. Sets the SerializationInfo object 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 si,
    StreamingContext sc
)
public:
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
virtual void GetObjectData(
    SerializationInfo^ si,
    StreamingContext sc
) override
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
override GetObjectData : 
        si:SerializationInfo *
        sc:StreamingContext -> unit
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)>
Public Overrides Sub GetObjectData (
    si As SerializationInfo,
    sc As StreamingContext
)

Parameters

Implements

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

See Also

GetObjectData
CredentialsVerificationException Class
System.Web.Security.SingleSignOn Namespace

Return to top