InvalidPublishingWebException InvalidPublishingWebException InvalidPublishingWebException InvalidPublishingWebException Constructors

Definition

Overloads

InvalidPublishingWebException() InvalidPublishingWebException() InvalidPublishingWebException()

Initializes a new instance of the InvalidPublishingWebException class.

InvalidPublishingWebException(String) InvalidPublishingWebException(String) InvalidPublishingWebException(String) InvalidPublishingWebException(String)

Initializes a new instance of the InvalidPublishingWebException class with the specified error message.

InvalidPublishingWebException(SerializationInfo, StreamingContext) InvalidPublishingWebException(SerializationInfo, StreamingContext) InvalidPublishingWebException(SerializationInfo, StreamingContext) InvalidPublishingWebException(SerializationInfo, StreamingContext)

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

InvalidPublishingWebException(String, Exception) InvalidPublishingWebException(String, Exception) InvalidPublishingWebException(String, Exception) InvalidPublishingWebException(String, Exception)

Initializes a new instance of the InvalidPublishingWebException class with the specified error message and a reference to the inner exception that is the cause of this exception.

InvalidPublishingWebException() InvalidPublishingWebException() InvalidPublishingWebException()

Initializes a new instance of the InvalidPublishingWebException class.

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

InvalidPublishingWebException(String) InvalidPublishingWebException(String) InvalidPublishingWebException(String) InvalidPublishingWebException(String)

Initializes a new instance of the InvalidPublishingWebException class with the specified error message.

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

Parameters

message
String String String String

The error message that explains the reason for the exception.

InvalidPublishingWebException(SerializationInfo, StreamingContext) InvalidPublishingWebException(SerializationInfo, StreamingContext) InvalidPublishingWebException(SerializationInfo, StreamingContext) InvalidPublishingWebException(SerializationInfo, StreamingContext)

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

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

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

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

context
StreamingContext StreamingContext StreamingContext StreamingContext

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

InvalidPublishingWebException(String, Exception) InvalidPublishingWebException(String, Exception) InvalidPublishingWebException(String, Exception) InvalidPublishingWebException(String, Exception)

Initializes a new instance of the InvalidPublishingWebException class with the specified error message and a reference to the inner exception that is the cause of this exception.

public:
 InvalidPublishingWebException(System::String ^ message, Exception ^ innerException);
public InvalidPublishingWebException (string message, Exception innerException);
new Microsoft.SharePoint.Publishing.InvalidPublishingWebException : string * Exception -> Microsoft.SharePoint.Publishing.InvalidPublishingWebException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String String String String

The error message that explains the reason for the exception.

innerException
Exception Exception Exception Exception

The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Applies to