ProtocolForResultsOperation ProtocolForResultsOperation ProtocolForResultsOperation ProtocolForResultsOperation Class

Definition

Represents the result to the application that launched the current application for results.

public : sealed class ProtocolForResultsOperation : IProtocolForResultsOperationpublic sealed class ProtocolForResultsOperation : IProtocolForResultsOperationPublic NotInheritable Class ProtocolForResultsOperation Implements IProtocolForResultsOperation// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Use this class from an activated application launched via Launcher.LaunchUriForResultsAsync to indicate when activation is complete and to return a result to the activating application. This class is passed to the activated application's Application.OnActivated method via the IActivatedEventArgs argument.

Methods

ReportCompleted(ValueSet) ReportCompleted(ValueSet) ReportCompleted(ValueSet) ReportCompleted(ValueSet)

Indicates that the application activated for results is ready to return to the application that launched it for results.

public : void ReportCompleted(ValueSet data)public void ReportCompleted(ValueSet data)Public Function ReportCompleted(data As ValueSet) As void// You can use this method in JavaScript.
Parameters
data
ValueSet ValueSet ValueSet ValueSet

The data to return to the application that activated this app.

Note

The amount of data that can be transferred must not exceed 100 KB.