Class WorkflowParameterException
- Namespace
- Acuit.Pinpoint.Workflows.Parameters
- Assembly
- Acuit.Pinpoint.Workflows.dll
The exception that is thrown when a workflow parameter could not be provided to a workflow activity.
[Serializable]
public class WorkflowParameterException : WorkflowException, ISerializable, _Exception
- Inheritance
-
WorkflowParameterException
- Implements
- Inherited Members
- Extension Methods
Constructors
WorkflowParameterException()
Initializes a new instance of the WorkflowParameterException class with a default message similar to "Exception of type 'Acuit.Pinpoint.Workflows.Parameters.WorkflowParameterException' was thrown."
public WorkflowParameterException()
WorkflowParameterException(SerializationInfo, StreamingContext)
Initializes a new instance of the WorkflowParameterException class with serialized data.
protected WorkflowParameterException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
WorkflowParameterException(string)
Initializes a new instance of the WorkflowParameterException class with a specified error message.
public WorkflowParameterException(string message)
Parameters
message
stringThe message that describes the error.
WorkflowParameterException(string, Exception)
Initializes a new instance of the WorkflowParameterException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public WorkflowParameterException(string message, Exception inner)
Parameters
message
stringThe message that describes the error.
inner
ExceptionThe exception that is the cause of the current exception, or null if no inner exception is specified.
WorkflowParameterException(string, string)
Initializes a new instance of the WorkflowParameterException class with a specified error message and parameter name.
public WorkflowParameterException(string message, string parameterName)
Parameters
WorkflowParameterException(string, string, Exception)
Initializes a new instance of the WorkflowParameterException class with a specified error message, parameter name, and a reference to the inner exception that is the cause of this exception.
public WorkflowParameterException(string message, string parameterName, Exception inner)
Parameters
message
stringThe message that describes the error.
parameterName
stringThe full parameter name.
inner
ExceptionThe exception that is the cause of the current exception, or null if no inner exception is specified.
Properties
ParameterName
Gets the full parameter name.
public string ParameterName { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
info
parameter is a null reference (Nothing
in Visual Basic).