WorkflowTerminatedException 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.
Initializes a new instance of the WorkflowTerminatedException class.
Overloads
WorkflowTerminatedException() |
Initializes a new instance of the WorkflowTerminatedException class using default values. |
WorkflowTerminatedException(String) |
Initializes a new instance of the WorkflowTerminatedException class with a specified error message. |
WorkflowTerminatedException(SerializationInfo, StreamingContext) |
Initializes a new instance of the WorkflowTerminatedException class with serialized data. |
WorkflowTerminatedException(String, Exception) |
Initializes a new instance of the WorkflowTerminatedException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
WorkflowTerminatedException()
Initializes a new instance of the WorkflowTerminatedException class using default values.
public:
WorkflowTerminatedException();
public WorkflowTerminatedException ();
Public Sub New ()
Applies to
WorkflowTerminatedException(String)
Initializes a new instance of the WorkflowTerminatedException class with a specified error message.
public:
WorkflowTerminatedException(System::String ^ message);
public WorkflowTerminatedException (string message);
new System.Activities.Statements.WorkflowTerminatedException : string -> System.Activities.Statements.WorkflowTerminatedException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
WorkflowTerminatedException(SerializationInfo, StreamingContext)
Initializes a new instance of the WorkflowTerminatedException class with serialized data.
protected:
WorkflowTerminatedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected WorkflowTerminatedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Activities.Statements.WorkflowTerminatedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Activities.Statements.WorkflowTerminatedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Applies to
WorkflowTerminatedException(String, Exception)
Initializes a new instance of the WorkflowTerminatedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public:
WorkflowTerminatedException(System::String ^ message, Exception ^ innerException);
public WorkflowTerminatedException (string message, Exception innerException);
new System.Activities.Statements.WorkflowTerminatedException : string * Exception -> System.Activities.Statements.WorkflowTerminatedException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception, or a null reference (Nothing
in Visual Basic) if no inner exception is specified.