Επεξεργασία

Κοινή χρήση μέσω


InvalidPipelineStoreException Constructors

Definition

Initializes a new instance of the InvalidPipelineStoreException class.

Overloads

InvalidPipelineStoreException()

Initializes a new instance of the InvalidPipelineStoreException class.

InvalidPipelineStoreException(String)

Initializes a new instance of the InvalidPipelineStoreException class with the specified message.

InvalidPipelineStoreException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidPipelineStoreException class with serialization and streaming context information.

InvalidPipelineStoreException(String, Exception)

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

InvalidPipelineStoreException()

Initializes a new instance of the InvalidPipelineStoreException class.

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

Applies to

InvalidPipelineStoreException(String)

Initializes a new instance of the InvalidPipelineStoreException class with the specified message.

public:
 InvalidPipelineStoreException(System::String ^ message);
public InvalidPipelineStoreException (string message);
new System.AddIn.Hosting.InvalidPipelineStoreException : string -> System.AddIn.Hosting.InvalidPipelineStoreException
Public Sub New (message As String)

Parameters

message
String

A description of the error.

Applies to

InvalidPipelineStoreException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidPipelineStoreException class with serialization and streaming context information.

protected:
 InvalidPipelineStoreException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InvalidPipelineStoreException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.AddIn.Hosting.InvalidPipelineStoreException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.AddIn.Hosting.InvalidPipelineStoreException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialized object data.

context
StreamingContext

The contextual information about the source or destination object data.

Remarks

This constructor is called during deserialization to reconstitute an exception object that is transmitted over a stream. For more information, see XML and SOAP Serialization.

Applies to

InvalidPipelineStoreException(String, Exception)

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

public:
 InvalidPipelineStoreException(System::String ^ message, Exception ^ innerException);
public InvalidPipelineStoreException (string message, Exception innerException);
new System.AddIn.Hosting.InvalidPipelineStoreException : string * Exception -> System.AddIn.Hosting.InvalidPipelineStoreException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A description of the error.

innerException
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.

Remarks

An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property. The InnerException property returns the same value that is passed to the constructor, or a null reference if the InnerException property does not supply the inner exception value to the constructor.

The following table shows the initial property values for an instance of the AddInSegmentDirectoryNotFoundException class.

Property Value
InnerException The inner exception reference.
Message The localized error message string.

Applies to