エクスポート (0) 印刷
すべて展開
EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

CrmWorkflowActivityAttribute Class (Sdk Assembly)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Specifies the required attribute for every custom workflow activity class.

The CrmWorkflowActivityAttribute class inherits from System.Attribute. It implements the System.Runtime.InteropServices._Attribute interface. It exposes the following members.

ConstructorDescription
CrmWorkflowActivityAttributeInitializes a new instance of the CrmWorkflowActivityAttribute class.

Instance PropertyDescription
GroupNameGets the name of the group.
NameGets the name of the activity.

Example

[CrmWorkflowActivity("Calculate Distance","Mappoint Utilities")]
public class DistanceCalculator : SequenceActivity
{
    protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext)
    {
        // Do something here.
        return ActivityExecutionStatus.Closed;
    }
}

Requirements

Namespace: Microsoft.Crm.Workflow

Assembly: Microsoft.Crm.Sdk.dll

See Also

Concepts

SampleCode

Reference


© 2010 Microsoft Corporation. All rights reserved.


この情報は役に立ちましたか。
(残り 1500 文字)
フィードバックをいただき、ありがとうございました
表示:
© 2014 Microsoft