FullTrustProcessLauncher FullTrustProcessLauncher FullTrustProcessLauncher FullTrustProcessLauncher Class

Definition

Activate the full-trust Win32 component of an application from a Universal Windows app component in the same application package.

public : static class FullTrustProcessLauncherpublic static class FullTrustProcessLauncherPublic Static Class FullTrustProcessLauncher// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.14393.0)
API contract
Windows.ApplicationModel.FullTrustAppContract (introduced v1)

Remarks

The methods in this class may only be called by packages that have the runFullTrust capability:

<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" 
         xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
         xmlns:rescap= 
"http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" 
         xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10">
  ...
  <Capabilities> 
    <rescap:Capability Name="runFullTrust"/> 
  </Capabilities> 
  <Applications> 
       … 
      <Extensions> 
        <desktop:Extension Category="windows.fullTrustProcess" Executable="fulltrustprocess.exe"> 
          <desktop:FullTrustProcess> 
            <desktop:ParameterGroup GroupId="SyncGroup" Parameters="/Sync"/> 
            <desktop:ParameterGroup GroupId="OtherGroup" Parameters="/Other"/> 
          </desktop:FullTrustProcess> 
        </desktop:Extension> 
      </Extensions> 
    </Application> 
  </Applications>
</Package> 

Methods

LaunchFullTrustProcessForAppAsync(String) LaunchFullTrustProcessForAppAsync(String) LaunchFullTrustProcessForAppAsync(String) LaunchFullTrustProcessForAppAsync(String)

Launch the full-trust process for the specified application ID.

public : static IAsyncAction LaunchFullTrustProcessForAppAsync(PlatForm::String fullTrustPackageRelativeAppId)public static IAsyncAction LaunchFullTrustProcessForAppAsync(String fullTrustPackageRelativeAppId)Public Static Function LaunchFullTrustProcessForAppAsync(fullTrustPackageRelativeAppId As String) As IAsyncAction// You can use this method in JavaScript.
Parameters
fullTrustPackageRelativeAppId
PlatForm::String String String String

The process relative application identifier of the app whose full trust process component the caller wants to launch. The full-trust process can parse this to determine which app invoked it.

Returns
See Also

LaunchFullTrustProcessForAppAsync(String, String) LaunchFullTrustProcessForAppAsync(String, String) LaunchFullTrustProcessForAppAsync(String, String) LaunchFullTrustProcessForAppAsync(String, String)

Launch the full-trust process for the specified application ID, with parameters.

public : static IAsyncAction LaunchFullTrustProcessForAppAsync(PlatForm::String fullTrustPackageRelativeAppId, PlatForm::String parameterGroupId)public static IAsyncAction LaunchFullTrustProcessForAppAsync(String fullTrustPackageRelativeAppId, String parameterGroupId)Public Static Function LaunchFullTrustProcessForAppAsync(fullTrustPackageRelativeAppId As String, parameterGroupId As String) As IAsyncAction// You can use this method in JavaScript.
Parameters
fullTrustPackageRelativeAppId
PlatForm::String String String String

The process relative application identifier of the app whose full trust process component the caller wants to launch. The full-trust process can parse this to determine which app invoked it.

parameterGroupId
PlatForm::String String String String

The parameter group ID for the parameters that will be passed to the launched process.

Returns
See Also

LaunchFullTrustProcessForCurrentAppAsync() LaunchFullTrustProcessForCurrentAppAsync() LaunchFullTrustProcessForCurrentAppAsync() LaunchFullTrustProcessForCurrentAppAsync()

Launch the full-trust process for the current application ID.

public : static IAsyncAction LaunchFullTrustProcessForCurrentAppAsync()public static IAsyncAction LaunchFullTrustProcessForCurrentAppAsync()Public Static Function LaunchFullTrustProcessForCurrentAppAsync() As IAsyncAction// You can use this method in JavaScript.
Returns
See Also

LaunchFullTrustProcessForCurrentAppAsync(String) LaunchFullTrustProcessForCurrentAppAsync(String) LaunchFullTrustProcessForCurrentAppAsync(String) LaunchFullTrustProcessForCurrentAppAsync(String)

Launch the full-trust process for the current application ID, with parameters.

public : static IAsyncAction LaunchFullTrustProcessForCurrentAppAsync(PlatForm::String parameterGroupId)public static IAsyncAction LaunchFullTrustProcessForCurrentAppAsync(String parameterGroupId)Public Static Function LaunchFullTrustProcessForCurrentAppAsync(parameterGroupId As String) As IAsyncAction// You can use this method in JavaScript.
Parameters
parameterGroupId
PlatForm::String String String String

The parameter group ID for the parameters that will be passed to the launched process.

Returns
See Also