SharePointConnectionException Constructors

Definition

Overloads

SharePointConnectionException()

Initializes a new instance of the SharePointConnectionException class.

SharePointConnectionException(String)

Initializes a new instance of the SharePointConnectionException class.

SharePointConnectionException(SerializationInfo, StreamingContext)

Initializes a new instance of the SharePointConnectionException class.

SharePointConnectionException(String, Exception)

Initializes a new instance of the SharePointConnectionException class.

SharePointConnectionException()

Initializes a new instance of the SharePointConnectionException class.

public:
 SharePointConnectionException();
public SharePointConnectionException ();
Public Sub New ()

Applies to

SharePointConnectionException(String)

Initializes a new instance of the SharePointConnectionException class.

public:
 SharePointConnectionException(System::String ^ message);
public SharePointConnectionException (string message);
new Microsoft.VisualStudio.SharePoint.SharePointConnectionException : string -> Microsoft.VisualStudio.SharePoint.SharePointConnectionException
Public Sub New (message As String)

Parameters

message
String

The message that describes the exception.

Applies to

SharePointConnectionException(SerializationInfo, StreamingContext)

Initializes a new instance of the SharePointConnectionException class.

protected:
 SharePointConnectionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SharePointConnectionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.SharePoint.SharePointConnectionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.SharePoint.SharePointConnectionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

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

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

SharePointConnectionException(String, Exception)

Initializes a new instance of the SharePointConnectionException class.

public:
 SharePointConnectionException(System::String ^ message, Exception ^ inner);
public SharePointConnectionException (string message, Exception inner);
new Microsoft.VisualStudio.SharePoint.SharePointConnectionException : string * Exception -> Microsoft.VisualStudio.SharePoint.SharePointConnectionException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The message that describes the exception.

inner
Exception

The exception that is the cause of the current exception.

Applies to