Sets the SerializationInfo object with information about the exception. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

Visual Basic
Dim instance As LocationMonitoringObjectCertificateNotFoundException
Dim info As SerializationInfo
Dim context As StreamingContext

instance.GetObjectData(info, context)

Syntax

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

Parameters

info

The SerializationInfo 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.

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also