AppServiceClosedEventArgs AppServiceClosedEventArgs AppServiceClosedEventArgs AppServiceClosedEventArgs Class

Definition

Provides data for the AppServiceConnection.ServiceClosed event that occurs when the other endpoint closes connection to the app service. App services enable app-to-app communication by allowing you to provide services from your Universal Windows app to other Universal Windows app.

public : sealed class AppServiceClosedEventArgs : IAppServiceClosedEventArgspublic sealed class AppServiceClosedEventArgs : IAppServiceClosedEventArgsPublic NotInheritable Class AppServiceClosedEventArgs Implements IAppServiceClosedEventArgs// 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

An instance of this class is passed to the event handler that you implement for the AppServiceConnection.ServiceClosed event.

Properties

Status Status Status Status

Gets the status that was set when the endpoint for the app service was closed.

public : AppServiceClosedStatus Status { get; }public AppServiceClosedStatus Status { get; }Public ReadOnly Property Status As AppServiceClosedStatus// You can use this property in JavaScript.
Value
AppServiceClosedStatus AppServiceClosedStatus AppServiceClosedStatus AppServiceClosedStatus

The status that was set when the endpoint for the app service was closed.

See Also