SPException.GetObjectData method
SharePoint 2013
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.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
_Exception.GetObjectData(SerializationInfo, StreamingContext)
[SECURITY CRITICAL]
Namespace:
Microsoft.SharePointSaves information about the exception for serialization.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SecurityCriticalAttribute] public override void GetObjectData( SerializationInfo si, StreamingContext context )
Parameters
- si
- Type: System.Runtime.Serialization.SerializationInfo
The object that holds the serialized object data about the exception being thrown.
- context
- Type: System.Runtime.Serialization.StreamingContext
The object that contains contextual information about the source or destination.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)_Exception.GetObjectData(SerializationInfo, StreamingContext)