AddAndThrowException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AddAndThrowException() | |
AddAndThrowException(String) | |
AddAndThrowException(SerializationInfo, StreamingContext) |
已淘汰.
|
AddAndThrowException(String, Exception) |
AddAndThrowException()
AddAndThrowException(String)
public AddAndThrowException (string message);
new Orleans.Transactions.TestKit.AddAndThrowException : string -> Orleans.Transactions.TestKit.AddAndThrowException
Public Sub New (message As String)
參數
- message
- String
適用於
AddAndThrowException(SerializationInfo, StreamingContext)
警告
此 API 現已淘汰。
protected AddAndThrowException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete]
protected AddAndThrowException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Orleans.Transactions.TestKit.AddAndThrowException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Transactions.TestKit.AddAndThrowException
[<System.Obsolete>]
new Orleans.Transactions.TestKit.AddAndThrowException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Transactions.TestKit.AddAndThrowException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
參數
- info
- SerializationInfo
- context
- StreamingContext
- 屬性
適用於
AddAndThrowException(String, Exception)
public AddAndThrowException (string message, Exception innerException);
new Orleans.Transactions.TestKit.AddAndThrowException : string * Exception -> Orleans.Transactions.TestKit.AddAndThrowException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
- innerException
- Exception