Partilhar via


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

  • messageTag
    Type: System.String

    The message to display when an exception is encountered.

See Also

Reference

CoercionException Class

CoercionException Members

Microsoft.SharePoint.WorkflowActions Namespace