Constructor WorkflowException
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
WorkflowException()
Initializes a new instance of the WorkflowException class.
public WorkflowException()
WorkflowException(string)
Initializes a new instance of the WorkflowException class with a specified error message.
public WorkflowException(string message)
Parameters
messagestringThe message that describes the error.
WorkflowException(string, Exception)
Initializes a new instance of the WorkflowException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public WorkflowException(string message, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
WorkflowException(string, ExpressionBuilder)
Initializes a new instance of the WorkflowException class with a specified error message and a reference to the ExpressionBuilder that is the cause of this exception.
public WorkflowException(string message, ExpressionBuilder builder)
Parameters
messagestringThe error message that explains the reason for the exception.
builderExpressionBuilderThe ExpressionBuilder that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no builder is specified.
WorkflowException(string, ExpressionBuilder, Exception)
Initializes a new instance of the WorkflowException class with a specified error message and a reference to both the ExpressionBuilder and the inner exception that caused this exception.
public WorkflowException(string message, ExpressionBuilder builder, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
builderExpressionBuilderThe ExpressionBuilder that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no builder is specified.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
WorkflowException(SerializationInfo, StreamingContext)
Initializes a new instance of the WorkflowException class with serialized data.
protected WorkflowException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.