Share via


SharePointCommandException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the SharePointCommandException class with serialized data.

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected SharePointCommandException(
    SerializationInfo info,
    StreamingContext context
)

Parameters

  • info
    Type: SerializationInfo

    The SerializationInfo object that holds the serialized object data about the exception being thrown.

  • context
    Type: StreamingContext

    The SerializationInfo object that contains contextual information about the source or destination.

.NET Framework Security

See Also

Reference

SharePointCommandException Class

SharePointCommandException Overload

Microsoft.VisualStudio.SharePoint Namespace