Workflow Class

Definition

The base class for all workflows in Microsoft Dynamics 365.

public ref class Workflow sealed : System::Activities::NativeActivity
[System.ComponentModel.Designer(typeof(Microsoft.Xrm.Sdk.Workflow.Designers.WorkflowDesigner))]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2117:AptcaTypesShouldOnlyExtendAptcaBaseTypes", Justification="Workflow foundation classes are not marked as aptca(Without PU3).")]
[System.Windows.Markup.ContentProperty("Activities")]
public sealed class Workflow : System.Activities.NativeActivity
[<System.ComponentModel.Designer(typeof(Microsoft.Xrm.Sdk.Workflow.Designers.WorkflowDesigner))>]
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces")>]
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2117:AptcaTypesShouldOnlyExtendAptcaBaseTypes", Justification="Workflow foundation classes are not marked as aptca(Without PU3).")>]
[<System.Windows.Markup.ContentProperty("Activities")>]
type Workflow = class
    inherit NativeActivity
Public NotInheritable Class Workflow
Inherits NativeActivity
Inheritance
Workflow
Attributes

Constructors

Workflow()

Initializes a new instance of the Workflow class.

Properties

Activities

Gets the collection of activities for this workflow.

BookmarkCallback

Gets the callback method called when the workflow is resumed.

OnChildComplete

Gets the callback method called when a child of this sequence completes execution.

Variables

Gets the collection of workflow variables.

Applies to