Share via


MediaSourceAppServiceConnection(AppServiceConnection) Constructor

Definition

Initializes a new instance of the MediaSourceAppServiceConnection class.

public:
 MediaSourceAppServiceConnection(AppServiceConnection ^ appServiceConnection);
 MediaSourceAppServiceConnection(AppServiceConnection const& appServiceConnection);
public MediaSourceAppServiceConnection(AppServiceConnection appServiceConnection);
function MediaSourceAppServiceConnection(appServiceConnection)
Public Sub New (appServiceConnection As AppServiceConnection)

Parameters

appServiceConnection
AppServiceConnection

An AppServiceConnection object representing the connection to the endpoint for an app service.

Remarks

Get an instance of the AppServiceConnection class by casting the TriggerDetails property of the IBackgroundTaskInstance object passed into the background task's Run method to an AppServiceTriggerDetails object and then accessing the AppServiceConnection property.

Applies to