SPException.GetObjectData method
This member has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses this member throws a MethodAccessException.
[SECURITY CRITICAL]
儲存序列化例外狀況的相關資訊。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SecurityCriticalAttribute> _
Public Overrides Sub GetObjectData ( _
si As SerializationInfo, _
context As StreamingContext _
)
'用途
Dim instance As SPException
Dim si As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(si, context)
[SecurityCriticalAttribute]
public override void GetObjectData(
SerializationInfo si,
StreamingContext context
)
參數
si
Type: System.Runtime.Serialization.SerializationInfo保存有關擲回例外狀況的序列化的物件資料的物件。
context
Type: System.Runtime.Serialization.StreamingContext包含有關來源或目的端的內容資訊的物件。
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)