Constructor WorkflowRuntimeException
- Namespace
- Bonsai
- Assembly
- Bonsai.Core.dll
WorkflowRuntimeException()
Initializes a new instance of the WorkflowRuntimeException class.
public WorkflowRuntimeException()
WorkflowRuntimeException(string)
Initializes a new instance of the WorkflowRuntimeException class with a specified error message.
public WorkflowRuntimeException(string message)
Parameters
messagestringThe message that describes the error.
WorkflowRuntimeException(string, Exception)
Initializes a new instance of the WorkflowRuntimeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public WorkflowRuntimeException(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.
WorkflowRuntimeException(string, ExpressionBuilder)
Initializes a new instance of the WorkflowRuntimeException class with a specified error message and a reference to the ExpressionBuilder that is the cause of this exception.
public WorkflowRuntimeException(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.
WorkflowRuntimeException(string, ExpressionBuilder, Exception)
Initializes a new instance of the WorkflowRuntimeException class with a specified error message and a reference to both the ExpressionBuilder and the inner exception that caused this exception.
public WorkflowRuntimeException(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.
WorkflowRuntimeException(SerializationInfo, StreamingContext)
Initializes a new instance of the WorkflowRuntimeException class with serialized data.
protected WorkflowRuntimeException(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.