Share via


IDurableEntityContext.GetInput Method

Definition

Overloads

GetInput(Type)

Gets the input for this operation, as a deserialized value.

GetInput<TInput>()

Gets the input for this operation, as a deserialized value.

GetInput(Type)

Source:
IDurableEntityContext.cs

Gets the input for this operation, as a deserialized value.

public object GetInput (Type inputType);
abstract member GetInput : Type -> obj
Public Function GetInput (inputType As Type) As Object

Parameters

inputType
Type

The JSON-serializable type used for the operation input.

Returns

The operation input, or default(inputType) if none.

Remarks

An operation invocation on an entity includes an operation name, which states what operation to perform, and optionally an operation input.

Applies to

GetInput<TInput>()

Source:
IDurableEntityContext.cs

Gets the input for this operation, as a deserialized value.

public TInput GetInput<TInput> ();
abstract member GetInput : unit -> 'Input
Public Function GetInput(Of TInput) () As TInput

Type Parameters

TInput

The JSON-serializable type used for the operation input.

Returns

TInput

The operation input, or default(TInput) if none.

Remarks

An operation invocation on an entity includes an operation name, which states what operation to perform, and optionally an operation input.

Applies to