ActivityManager.Get Method
Retrieves specified workflow activities in the current scope.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Overload List
Name | Description | |
---|---|---|
Get() | Retrieves all workflow activities in the current scope. |
|
Get(Int32, Int32) | Retrieves workflow activities in the current scope by paging. |
|
Get(Int32, Int32, Boolean) | Retrieves workflow activities with optionally including their Xaml definitions. |
|
Get(Int32, Int32, Boolean, IDictionary<String, String>) | Retrieves workflow activities matching specified metadata filter with optionally including their Xaml definitions. |
|
Get(String) | Retrieves the specified workflow activity |
See Also
ActivityManager Class
Microsoft.Workflow.Client Namespace
Return to top
ActivityManager.Get Method ()
Retrieves all workflow activities in the current scope.
Syntax
public Collection<ActivityDescription> Get()
public:
Collection<ActivityDescription^>^ Get()
member Get : unit -> Collection<ActivityDescription>
Public Function Get As Collection(Of ActivityDescription)
Return Value
Type: System.Collections.ObjectModel.Collection<ActivityDescription>
Collection of ActivityDescriptions for the retrieved workflow activities.
Return to top
ActivityManager.Get Method (Int32, Int32)
Retrieves workflow activities in the current scope by paging.
Syntax
public Collection<ActivityDescription> Get(
int skip,
int count
)
public:
Collection<ActivityDescription^>^ Get(
int skip,
int count
)
member Get :
skip:int *
count:int -> Collection<ActivityDescription>
Public Function Get (
skip As Integer,
count As Integer
) As Collection(Of ActivityDescription)
Parameters
skip
Type: System.Int32The number of activities to skip.
count
Type: System.Int32The number of activities to retrieve.
Return Value
Type: System.Collections.ObjectModel.Collection<ActivityDescription>
Collection of ActivityDescriptions for the retrieved workflow activities.
Remarks
Xaml definition for retrieved workflow activiites is not included in the returned collection. To include Xaml definiiton use the overlaod that takes includeXaml parameter.
Return to top
ActivityManager.Get Method (Int32, Int32, Boolean)
Retrieves workflow activities with optionally including their Xaml definitions.
Syntax
public Collection<ActivityDescription> Get(
int skip,
int count,
bool includeXaml
)
public:
Collection<ActivityDescription^>^ Get(
int skip,
int count,
bool includeXaml
)
member Get :
skip:int *
count:int *
includeXaml:bool -> Collection<ActivityDescription>
Public Function Get (
skip As Integer,
count As Integer,
includeXaml As Boolean
) As Collection(Of ActivityDescription)
Parameters
skip
Type: System.Int32The number of activities to skip.
count
Type: System.Int32The number of activities to retrieve.
includeXaml
Type: System.BooleanTrue if the Xaml definition for the workflow activities should be retrieved. False if otherwise.
Return Value
Type: System.Collections.ObjectModel.Collection<ActivityDescription>
Collection of ActivityDescriptions for the retrieved workflow activities.
Return to top
ActivityManager.Get Method (Int32, Int32, Boolean, IDictionary<String, String>)
Retrieves workflow activities matching specified metadata filter with optionally including their Xaml definitions.
Syntax
public Collection<ActivityDescription> Get(
int skip,
int count,
bool includeXaml,
IDictionary<string, string> metadataFilter
)
public:
Collection<ActivityDescription^>^ Get(
int skip,
int count,
bool includeXaml,
IDictionary<String^, String^>^ metadataFilter
)
member Get :
skip:int *
count:int *
includeXaml:bool *
metadataFilter:IDictionary<string, string> -> Collection<ActivityDescription>
Public Function Get (
skip As Integer,
count As Integer,
includeXaml As Boolean,
metadataFilter As IDictionary(Of String, String)
) As Collection(Of ActivityDescription)
Parameters
skip
Type: System.Int32The number of activities to skip.
count
Type: System.Int32The number of activities to retrieve.
includeXaml
Type: System.BooleanTrue if the Xaml definition for the workflow activities should be retrieved. False if otherwise.
metadataFilter
Type: System.Collections.Generic.IDictionary<String, String>Metadata filter for the activities to be retrieved.
Return Value
Type: System.Collections.ObjectModel.Collection<ActivityDescription>
Collection of ActivityDescriptions for the retrieved workflow activities.
Return to top
ActivityManager.Get Method (String)
Retrieves the specified workflow activity
Syntax
public ActivityDescription Get(
string activityName
)
public:
ActivityDescription^ Get(
String^ activityName
)
member Get :
activityName:string -> ActivityDescription
Public Function Get (
activityName As String
) As ActivityDescription
Parameters
activityName
Type: System.StringThe name of activity to be retrieved.
Return Value
Type: Microsoft.Workflow.Client.ActivityDescription
ActivityDescription for the retrieved activity.
Return to top