共用方式為


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
)

參數

Implements

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

請參閱

參照

SPException class

SPException members

Microsoft.SharePoint namespace