This topic has not yet been rated - Rate this topic

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]

Saves information about the exception for serialization.

Namespace:  Microsoft.SharePoint
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)
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.