Share via


AxeException.GetObjectData Method

Applies To: Windows 8.1

Namespace: Microsoft.Assessments
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

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

instance.GetObjectData(info, context)

Syntax

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

Parameters

  • info
    The serialization information object holding the serialized object data in the name-value form.
  • context
    The contextual information about the source or destination of the 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 8.1

See Also

Reference

AxeException Class
AxeException Members
Microsoft.Assessments Namespace