Share via


PosException.GetObjectData Method

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim posException1 As PosException
posException1.GetObjectData(info, context)

Syntax

'Declaration
Public Overrides Sub GetObjectData( _
    ByVal info As SerializationInfo, _
    ByVal context As StreamingContext _
)
public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
);
public: virtual Void GetObjectData(
    SerializationInfo^ info,
    StreamingContext^ context
);
public void GetObjectData(
    SerializationInfo info,
    StreamingContext context
);
public override function GetObjectData(
     info : SerializationInfo,
     context : StreamingContext
) : Void;

Parameters

  • info
    The SerializationInfo that holds the serialized object data about the exception being thrown.
  • context
    The StreamingContext that contains contextual information about the source or destination.

Remarks

Sets the SerializationInfo with information about 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 XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PosException Class
PosException Members
Microsoft.PointOfService Namespace
PosException