CoercionException Constructor
Initializes a new instance of the CoercionException class with a WorkflowContext object and the exception message.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Sub New ( _
context As WorkflowContext, _
messageTag As String _
)
'Usage
Dim context As WorkflowContext
Dim messageTag As String
Dim instance As New CoercionException(context, _
messageTag)
public CoercionException(
WorkflowContext context,
string messageTag
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA WorkflowContext object containing properties relating to a specified workflow instance.
messageTag
Type: System.StringThe message to display when an exception is encountered.