PSWorkflowService.UnregisterForEvent Method
Unregisters the specified event subscription.
Namespace: Microsoft.Office.Project.Server.Workflow
Assembly: Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)
Syntax
'Declaration
Public Sub UnregisterForEvent ( _
workflowContext As ProjectWorkflowContext, _
subscriptionUid As Guid _
)
'Usage
Dim instance As PSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim subscriptionUid As Guid
instance.UnregisterForEvent(workflowContext, _
subscriptionUid)
public void UnregisterForEvent(
ProjectWorkflowContext workflowContext,
Guid subscriptionUid
)
Parameters
- workflowContext
Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContext
Information that is related to the current instance of the workflow that is being processed.
- subscriptionUid
Type: System.Guid
The GUID for the subscription that was specified in the RegisterForEvent method.
Implements
IPSWorkflowService.UnregisterForEvent(ProjectWorkflowContext, Guid)