Partager via


ArgumentDirectionAttribute Class

Definition

Specifies the direction, either input or output, for an action argument.

public ref class ArgumentDirectionAttribute 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 ArgumentDirectionAttribute : 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 ArgumentDirectionAttribute = class
    inherit Attribute
    interface IWorkflowArgument
Public NotInheritable Class ArgumentDirectionAttribute
Inherits Attribute
Implements IWorkflowArgument
Inheritance
ArgumentDirectionAttribute
Attributes
Implements

Remarks

An input argument becomes a custom property on the message request of an action. An output argument becomes a custom property on the message response of an action.

Constructors

ArgumentDirectionAttribute()
ArgumentDirectionAttribute(ArgumentDirection)

Initializes an instance of the ArgumentDirectionAttribute class using an argument direction.

Properties

ArgumentValue

Gets the argument’s value.

Value

Gets or sets the data direction of a custom attribute for an action.

Applies to