Share via


CommerceModuleDependencyException.GetObjectData (SerializationInfo, StreamingContext) Method (BCL)

Use this method set the SerializationInfo object with information about the exception.

[Visual Basic .NET]

Overrides Public Sub GetObjectData( _ByValinfo As System.Runtime.Serialization.SerializationInfo, _
  ByValcontext As System.Runtime.Serialization.StreamingContext _
) 

[C#]

public override void GetObjectData(ByValinfo As System.Runtime.Serialization.SerializationInfo, _
  ByValcontext As System.Runtime.Serialization.StreamingContext _
);

Parameters

[Visual Basic .NET]

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

[C#]

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

Implements

System.Runtime.ISerializable

Remarks

The GetObjectData method sets the SerializationInfo object with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the SerializationInfo object transmitted over the stream.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.