Share via


PrimarySnapInDataException.GetObjectData Method (SerializationInfo, StreamingContext)

 

Serializes to a stream.

Namespace:   Microsoft.ManagementConsole.Advanced
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
    SerializationInfo information,
    StreamingContext context
)
public:
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
virtual void GetObjectData(
    SerializationInfo^ information,
    StreamingContext context
) override
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
override GetObjectData : 
        information:SerializationInfo *
        context:StreamingContext -> unit
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)>
Public Overrides Sub GetObjectData (
    information As SerializationInfo,
    context As StreamingContext
)

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)_Exception.GetObjectData(SerializationInfo, StreamingContext)

See Also

PrimarySnapInDataException Class
Microsoft.ManagementConsole.Advanced Namespace

Return to top