InvalidPipelineStoreException 建構函式

定義

初始化 InvalidPipelineStoreException 類別的新執行個體。Initializes a new instance of the InvalidPipelineStoreException class.

多載

InvalidPipelineStoreException()

初始化 InvalidPipelineStoreException 類別的新執行個體。Initializes a new instance of the InvalidPipelineStoreException class.

InvalidPipelineStoreException(String)

使用指定的訊息初始化 InvalidPipelineStoreException 類別的新執行個體。Initializes a new instance of the InvalidPipelineStoreException class with the specified message.

InvalidPipelineStoreException(SerializationInfo, StreamingContext)

使用序列化 (Serialization) 和資料流處理內容資訊,初始化 InvalidPipelineStoreException 類別的新執行個體。Initializes a new instance of the InvalidPipelineStoreException class with serialization and streaming context information.

InvalidPipelineStoreException(String, Exception)

使用指定的訊息和造成這個例外狀況之原因的內部例外參考,初始化 InvalidPipelineStoreException 類別的新執行個體。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()

初始化 InvalidPipelineStoreException 類別的新執行個體。Initializes a new instance of the InvalidPipelineStoreException class.

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

InvalidPipelineStoreException(String)

使用指定的訊息初始化 InvalidPipelineStoreException 類別的新執行個體。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)

參數

message
String

錯誤的描述。A description of the error.

InvalidPipelineStoreException(SerializationInfo, StreamingContext)

使用序列化 (Serialization) 和資料流處理內容資訊,初始化 InvalidPipelineStoreException 類別的新執行個體。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)

參數

info
SerializationInfo

序列化物件資料。The serialized object data.

context
StreamingContext

來源或目的端物件資料的相關內容資訊。The contextual information about the source or destination object data.

備註

在還原序列化期間會呼叫這個函式, 以重新組成透過資料流程傳輸的例外狀況物件。This constructor is called during deserialization to reconstitute an exception object that is transmitted over a stream. 如需詳細資訊,請參閱 < XML 和 SOAP 序列化For more information, see XML and SOAP Serialization.

InvalidPipelineStoreException(String, Exception)

使用指定的訊息和造成這個例外狀況之原因的內部例外參考,初始化 InvalidPipelineStoreException 類別的新執行個體。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)

參數

message
String

錯誤的描述。A description of the error.

innerException
Exception

做為目前例外狀況發生原因的例外狀況。The exception that is the cause of the current exception. 如果 innerException 參數不是 null 參考,目前的例外狀況會在處理內部例外的 catch 區塊中引發。If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

備註

被擲回以做為前一個例外狀況直接結果的例外狀況,應該在 InnerException 屬性中包含對前一個例外狀況的參考。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. 屬性會傳回與傳遞給此函式相同的值, InnerException如果屬性未提供內部例外狀況值給此函式, 則為 null 參考。 InnerExceptionThe 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.

下表顯示 AddInSegmentDirectoryNotFoundException 類別執行個體的初始屬性值。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.

適用於