InArgument<T> Constructors

Definition

Initializes a new instance of the InArgument<T> class.

Overloads

InArgument<T>()

Initializes a new instance of the InArgument<T> class using default values.

InArgument<T>(Activity<T>)

Initializes a new instance of the InArgument<T> class using the specified Activity<TResult>.

InArgument<T>(DelegateArgument)

Initializes a new instance of the InArgument<T> class using the specified DelegateArgument.

InArgument<T>(Variable)

Initializes a new instance of the InArgument<T> class using the specified Variable.

InArgument<T>(Expression<Func<ActivityContext,T>>)

Initializes a new instance of the InArgument<T> class using the specified expression.

InArgument<T>(T)

Initializes a new instance of the InArgument<T> class using the specified value.

InArgument<T>()

Initializes a new instance of the InArgument<T> class using default values.

public:
 InArgument();
public InArgument ();
Public Sub New ()

Applies to

InArgument<T>(Activity<T>)

Initializes a new instance of the InArgument<T> class using the specified Activity<TResult>.

public:
 InArgument(System::Activities::Activity<T> ^ expression);
public InArgument (System.Activities.Activity<T> expression);
new System.Activities.InArgument<'T> : System.Activities.Activity<'T> -> System.Activities.InArgument<'T>
Public Sub New (expression As Activity(Of T))

Parameters

expression
Activity<T>

The value of the argument.

Applies to

InArgument<T>(DelegateArgument)

Initializes a new instance of the InArgument<T> class using the specified DelegateArgument.

public:
 InArgument(System::Activities::DelegateArgument ^ delegateArgument);
public InArgument (System.Activities.DelegateArgument delegateArgument);
new System.Activities.InArgument<'T> : System.Activities.DelegateArgument -> System.Activities.InArgument<'T>
Public Sub New (delegateArgument As DelegateArgument)

Parameters

delegateArgument
DelegateArgument

The value of the argument.

Applies to

InArgument<T>(Variable)

Initializes a new instance of the InArgument<T> class using the specified Variable.

public:
 InArgument(System::Activities::Variable ^ variable);
public InArgument (System.Activities.Variable variable);
new System.Activities.InArgument<'T> : System.Activities.Variable -> System.Activities.InArgument<'T>
Public Sub New (variable As Variable)

Parameters

variable
Variable

The data that is passed through this argument.

Applies to

InArgument<T>(Expression<Func<ActivityContext,T>>)

Initializes a new instance of the InArgument<T> class using the specified expression.

public:
 InArgument(System::Linq::Expressions::Expression<Func<System::Activities::ActivityContext ^, T> ^> ^ expression);
public InArgument (System.Linq.Expressions.Expression<Func<System.Activities.ActivityContext,T>> expression);
new System.Activities.InArgument<'T> : System.Linq.Expressions.Expression<Func<System.Activities.ActivityContext, 'T>> -> System.Activities.InArgument<'T>
Public Sub New (expression As Expression(Of Func(Of ActivityContext, T)))

Parameters

expression
Expression<Func<ActivityContext,T>>

The value of the argument.

Applies to

InArgument<T>(T)

Initializes a new instance of the InArgument<T> class using the specified value.

public:
 InArgument(T constValue);
public InArgument (T constValue);
new System.Activities.InArgument<'T> : 'T -> System.Activities.InArgument<'T>
Public Sub New (constValue As T)

Parameters

constValue
T

The value of the argument.

Remarks

The constValue parameter is shared across all workflow instances using this workflow definition. For example, if a List<string> was provided as a constValue and three instances were created then all three instances would be accessing the same List<string>.

Applies to