Win32Exception.GetObjectData(SerializationInfo, StreamingContext) Win32Exception.GetObjectData(SerializationInfo, StreamingContext) Win32Exception.GetObjectData(SerializationInfo, StreamingContext) Win32Exception.GetObjectData(SerializationInfo, StreamingContext) Method

定義

以發生這個 SerializationInfo 的檔案名稱和行號,設定 Win32Exception 物件。Sets the SerializationInfo object with the file name and line number at which this Win32Exception occurred.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

參數

context
StreamingContext StreamingContext StreamingContext StreamingContext

關於來源或目的端的內容資訊。The contextual information about the source or destination.

實作

例外狀況

適用於