Partager via


ArgumentTargetAttribute Class

Definition

Identifies the argument is the primary entity for which the workflow is run.

public ref class ArgumentTargetAttribute sealed : Attribute, Microsoft::Xrm::Sdk::Workflow::IWorkflowArgument
[System.AttributeUsage(System.AttributeTargets.All)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments", Justification="Accessors need to be public for WinWF runtime Xaml Services for serialization/deserialization", MessageId="")]
[System.Serializable]
public sealed class ArgumentTargetAttribute : Attribute, Microsoft.Xrm.Sdk.Workflow.IWorkflowArgument
[<System.AttributeUsage(System.AttributeTargets.All)>]
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments", Justification="Accessors need to be public for WinWF runtime Xaml Services for serialization/deserialization", MessageId="")>]
[<System.Serializable>]
type ArgumentTargetAttribute = class
    inherit Attribute
    interface IWorkflowArgument
Public NotInheritable Class ArgumentTargetAttribute
Inherits Attribute
Implements IWorkflowArgument
Inheritance
ArgumentTargetAttribute
Attributes
Implements

Remarks

This attribute is automatically generated or added and is optional for global actions.

Constructors

ArgumentTargetAttribute()

Initializes an instance of the ArgumentTargetAttribute class.

ArgumentTargetAttribute(Boolean)

Initializes an instance of the ArgumentTargetAttribute class setting the Value property .

Properties

ArgumentValue

Gets the primary entity for which the workflow is run.

Value

Gets a value indicating the argument is the primary entity for which the workflow is run.

Applies to