MediaSourceAppServiceConnection(AppServiceConnection) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.