Partilhar via


CreateTask Members

Include Protected Members
Include Inherited Members

Defines a workflow activity that is used to create a SharePoint Foundation task for a workflow, with the specified task properties.

The CreateTask type exposes the following members.

Constructors

  Name Description
Public method CreateTask Initializes a new instance of the CreateTask class.

Top

Properties

  Name Description
Public property CorrelationToken (Inherited from CallExternalMethodActivity.)
Public property Description (Inherited from Activity.)
Protected property DesignMode (Inherited from DependencyObject.)
Public property Enabled (Inherited from Activity.)
Public property ExecutionResult (Inherited from Activity.)
Public property ExecutionStatus (Inherited from Activity.)
Public property InterfaceType Gets the interface used to implement the activity. (Overrides CallExternalMethodActivity.InterfaceType.)
Public property IsDynamicActivity (Inherited from Activity.)
Public property ListItemId Gets or sets the list item ID of the task in the task list.
Public property MethodName Gets the interface method that this activity implements. (Overrides CallExternalMethodActivity.MethodName.)
Public property Name (Inherited from Activity.)
Public property ParameterBindings (Inherited from CallExternalMethodActivity.)
Public property Parent (Inherited from Activity.)
Protected property ParentDependencyObject (Inherited from DependencyObject.)
Public property QualifiedName (Inherited from Activity.)
Public property Site (Inherited from DependencyObject.)
Public property SpecialPermissions Specifies special permissions for the task created.
Public property TaskId Represents the ID assigned to the task by the workflow engine when the task is created.
Public property TaskProperties Gets and sets an SPWorkflowTaskProperties object that specifies the property values to set for the task you are creating.
Public property UserData (Inherited from DependencyObject.)
Protected property WorkflowInstanceId (Inherited from Activity.)

Top

Methods

  Name Description
Public method AddHandler (Inherited from DependencyObject.)
Protected method Cancel (Inherited from Activity.)
Public method Clone (Inherited from Activity.)
Public method Dispose() (Inherited from DependencyObject.)
Protected method Dispose(Boolean) (Inherited from DependencyObject.)
Public method Equals (Inherited from Object.)
Protected method Execute (Inherited from CallExternalMethodActivity.)
Protected method Finalize (Inherited from DependencyObject.)
Public method GetActivityByName(String) (Inherited from Activity.)
Public method GetActivityByName(String, Boolean) (Inherited from Activity.)
Public method GetBinding (Inherited from DependencyObject.)
Protected method GetBoundValue (Inherited from DependencyObject.)
Public method GetHashCode (Inherited from Object.)
Protected method GetInvocationList<T> (Inherited from DependencyObject.)
Public method GetType (Inherited from Object.)
Public method GetValue (Inherited from DependencyObject.)
Public method GetValueBase (Inherited from DependencyObject.)
Protected method HandleFault (Inherited from Activity.)
Protected method Initialize (Inherited from Activity.)
Protected method InitializeProperties (Inherited from CallExternalMethodActivity.)
Protected method Invoke<T>(EventHandler<T>, T) (Inherited from Activity.)
Protected method Invoke<T>(IActivityEventListener<T>, T) (Inherited from Activity.)
Public method IsBindingSet (Inherited from DependencyObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MetaEquals (Inherited from DependencyObject.)
Protected method OnActivityExecutionContextLoad (Inherited from Activity.)
Protected method OnActivityExecutionContextUnload (Inherited from Activity.)
Protected method OnClosed (Inherited from Activity.)
Protected method OnMethodInvoked Extracts and sets the value of the ListItemId property from the ParameterBindings. (Overrides CallExternalMethodActivity.OnMethodInvoked(EventArgs).)
Protected method OnMethodInvoking Sets the ParameterBindings for the activity. (Overrides CallExternalMethodActivity.OnMethodInvoking(EventArgs).)
Protected method RaiseEvent (Inherited from Activity.)
Protected method RaiseGenericEvent<T> (Inherited from Activity.)
Public method RegisterForStatusChange (Inherited from Activity.)
Public method RemoveHandler (Inherited from DependencyObject.)
Public method RemoveProperty (Inherited from DependencyObject.)
Public method Save(Stream) (Inherited from Activity.)
Public method Save(Stream, IFormatter) (Inherited from Activity.)
Public method SetBinding (Inherited from DependencyObject.)
Protected method SetBoundValue (Inherited from DependencyObject.)
Protected method SetReadOnlyPropertyValue (Inherited from DependencyObject.)
Public method SetValue (Inherited from DependencyObject.)
Public method SetValueBase (Inherited from DependencyObject.)
Public method ToString (Inherited from Activity.)
Protected method TrackData(Object) (Inherited from Activity.)
Protected method TrackData(String, Object) (Inherited from Activity.)
Protected method Uninitialize (Inherited from Activity.)
Public method UnregisterForStatusChange (Inherited from Activity.)

Top

Events

  Name Description
Public event Canceling (Inherited from Activity.)
Public event Closed (Inherited from Activity.)
Public event Compensating (Inherited from Activity.)
Public event Executing (Inherited from Activity.)
Public event Faulting (Inherited from Activity.)
Public event MethodInvoking (Inherited from CallExternalMethodActivity.)
Public event StatusChanged (Inherited from Activity.)

Top

Fields

  Name Description
Public fieldStatic member ListItemIdProperty The DependencyProperty object that promotes the ListItemId property.
Public fieldStatic member SpecialPermissionsProperty The DependencyProperty object that promotes the SpecialPermissions property.
Public fieldStatic member TaskIdProperty The DependencyProperty object that promotes the TaskId property.
Public fieldStatic member TaskPropertiesProperty The DependencyProperty object that promotes the TaskProperties property.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from DependencyObject.)
Explicit interface implemetationPrivate method IDynamicPropertyTypeProvider.GetAccessType (Inherited from CallExternalMethodActivity.)
Explicit interface implemetationPrivate method IDynamicPropertyTypeProvider.GetPropertyType (Inherited from CallExternalMethodActivity.)

Top

See Also

Reference

CreateTask Class

Microsoft.SharePoint.WorkflowActions Namespace