Share via


ClmSmartcardProcessingClientTokenException.GetObjectData Method

Gets the data that is associated with the smart card exception.

Namespace: Microsoft.Clm.Shared
Assembly: Microsoft.Clm.Shared (in Microsoft.Clm.Shared.dll)

Usage

'Usage
Dim instance As ClmSmartcardProcessingClientTokenException
Dim info As SerializationInfo
Dim context As StreamingContext

instance.GetObjectData(info, context)

Syntax

'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Overrides Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true)] 
public override void GetObjectData (
    SerializationInfo info,
    StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter=true)] 
public:
virtual void GetObjectData (
    SerializationInfo^ info, 
    StreamingContext context
) override
/** @attribute SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true) */ 
public void GetObjectData (
    SerializationInfo info, 
    StreamingContext context
)
public override function GetObjectData (
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    A SerializationInfo object that is set with the serialized object data that describes the smart card exception.
  • context
    A StreamingContext structure that describes the source and destination of the serialized stream, and provides any additional caller-defined context.

Remarks

This method sets the SerializationInfo object that is passed in the info parameter with information about the exception. The smart card specific information includes the following values:

Value Name Value Type Description

ExceptionSubType

ExceptionSubType

The specific type of smart card exception that occurred.

ErrorId

ErrorId

The identifier of the type of error that is associated with the smart card 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.

Platforms

Development Platforms

Windows 2008 x64 Edition

Target Platforms

Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

ClmSmartcardProcessingClientTokenException Class
ClmSmartcardProcessingClientTokenException Members
Microsoft.Clm.Shared Namespace
ErrorId Enumeration
ExceptionSubType Enumeration