AddAndThrowException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddAndThrowException() | |
AddAndThrowException(String) | |
AddAndThrowException(SerializationInfo, StreamingContext) |
Obsolete.
|
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)
Parameters
- message
- String
Applies to
AddAndThrowException(SerializationInfo, StreamingContext)
Caution
This API is now deprecated.
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)
Parameters
- info
- SerializationInfo
- context
- StreamingContext
- Attributes
Applies to
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)
Parameters
- message
- String
- innerException
- Exception