Rediger

Del via


BreakOutOfFinally.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Stores information about the exception in the SerializationInfo. The stored information includes the target value.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ s, System::Runtime::Serialization::StreamingContext c);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo s, System.Runtime.Serialization.StreamingContext c);
[System.Security.SecurityCritical]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo s, System.Runtime.Serialization.StreamingContext c);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
[<System.Security.SecurityCritical>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (s As SerializationInfo, c As StreamingContext)

Parameters

s
SerializationInfo

The serialized object data about the exception that is being thrown.

c
StreamingContext

Contextual information about the source or destination.

Attributes

Applies to

See also