ActionInvocationContext.SetOutputEntity(String, ActionEntity) Method

Definition

Sets the output entity for an app action invocation.

public:
 virtual void SetOutputEntity(Platform::String ^ outputName, ActionEntity ^ outputValue) = SetOutputEntity;
void SetOutputEntity(winrt::hstring const& outputName, ActionEntity const& outputValue);
public void SetOutputEntity(string outputName, ActionEntity outputValue);
function setOutputEntity(outputName, outputValue)
Public Sub SetOutputEntity (outputName As String, outputValue As ActionEntity)

Parameters

outputName
String

Platform::String

winrt::hstring

The name of the output entity. The name must match the name declared in the Action definition JSON file. For more information, see Action definition JSON schema for App Actions on Windows.

outputValue
ActionEntity

An instance of one of the entity classes that inherits from ActionEntity.

Applies to