Share via


SharePointConnectionDisabledException Constructors

Definition

Overloads

SharePointConnectionDisabledException()

Initializes a new instance of the SharePointConnectionDisabledException class.

SharePointConnectionDisabledException(String)

Initializes a new instance of the SharePointConnectionDisabledException class.

SharePointConnectionDisabledException(SerializationInfo, StreamingContext)

Initializes a new instance of the SharePointConnectionDisabledException class.

SharePointConnectionDisabledException(String, Exception)

Initializes a new instance of the SharePointConnectionDisabledException class.

SharePointConnectionDisabledException()

Initializes a new instance of the SharePointConnectionDisabledException class.

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

Applies to

SharePointConnectionDisabledException(String)

Initializes a new instance of the SharePointConnectionDisabledException class.

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

Parameters

message
String

The message that describes the exception.

Applies to

SharePointConnectionDisabledException(SerializationInfo, StreamingContext)

Initializes a new instance of the SharePointConnectionDisabledException class.

protected:
 SharePointConnectionDisabledException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SharePointConnectionDisabledException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.SharePoint.SharePointConnectionDisabledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.SharePoint.SharePointConnectionDisabledException
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

SharePointConnectionDisabledException(String, Exception)

Initializes a new instance of the SharePointConnectionDisabledException class.

public:
 SharePointConnectionDisabledException(System::String ^ message, Exception ^ inner);
public SharePointConnectionDisabledException (string message, Exception inner);
new Microsoft.VisualStudio.SharePoint.SharePointConnectionDisabledException : string * Exception -> Microsoft.VisualStudio.SharePoint.SharePointConnectionDisabledException
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