Compartilhar via


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]

Salva informações sobre a exceção para serialização.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
<SecurityCriticalAttribute> _
Public Overrides Sub GetObjectData ( _
    si As SerializationInfo, _
    context As StreamingContext _
)
'Uso
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
)

Parâmetros

Implements

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

Ver também

Referência

SPException class

SPException members

Microsoft.SharePoint namespace