Share via


ProtocolForResultsOperation Class

Definition

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

public ref class ProtocolForResultsOperation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ProtocolForResultsOperation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ProtocolForResultsOperation
Public NotInheritable Class ProtocolForResultsOperation
Inheritance
Object Platform::Object IInspectable ProtocolForResultsOperation
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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)

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

Applies to