Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
msatranjr committed Feb 7, 2017
0 parents commit 44b7e73
Show file tree
Hide file tree
Showing 33,627 changed files with 926,113 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
log/
obj/
_site/
.optemp/
_themes*/

.openpublishing.buildcore.ps1
395 changes: 395 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions LICENSE-CODE
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
The MIT License (MIT)
Copyright (c) Microsoft Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
##Legal Notices
Microsoft and any contributors grant you a license to the Microsoft documentation and other content
in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode),
see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT), see the
[LICENSE-CODE](LICENSE-CODE) file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation
may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries.
The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks.
Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

Privacy information can be found at https://privacy.microsoft.com/en-us/

Microsoft and any contributors reserve all others rights, whether under their respective copyrights, patents,
or trademarks, whether by implication, estoppel or otherwise.
126 changes: 126 additions & 0 deletions windows.applicationmodel.activation/activationkind.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
---
-api-id: T:Windows.ApplicationModel.Activation.ActivationKind
-api-type: winrt enum
---

<!-- Enumeration syntax
public enum Windows.ApplicationModel.Activation.ActivationKind : int
-->

# ActivationKind

## -description
Specifies the type of activation.

## -enum-fields
### -field Launch:0
The user launched the app or tapped a content tile.

### -field Search:1
The user wants to search with the app.

### -field ShareTarget:2
The app is activated as a target for share operations.

### -field File:3
An app launched a file whose file type this app is registered to handle.

### -field Protocol:4
An app launched a URI whose scheme name this app is registered to handle.

### -field FileOpenPicker:5
The user wants to pick files that are provided by the app.

### -field FileSavePicker:6
The user wants to save a file and selected the app as the location.

### -field CachedFileUpdater:7
The user wants to save a file that the app provides content management for.

### -field ContactPicker:8
The user wants to pick contacts.

### -field Device:9
The app handles AutoPlay.

### -field PrintTaskSettings:10
The app handles print tasks.

### -field CameraSettings:11
The app captures photos or video from an attached camera.

### -field RestrictedLaunch:12
Windows Store only. The user launched the restricted app.

### -field AppointmentsProvider:13
The user wants to manage appointments that are provided by the app.

### -field Contact:14
Windows Store only. The user wants to handle calls or messages for the phone number of a contact that is provided by the app.

### -field LockScreenCall:15
Windows Store only. The app launches a call from the lock screen. If the user wants to accept the call, the app displays its call UI directly on the lock screen without requiring the user to unlock. A lock-screen call is a special type of launch activation.

### -field VoiceCommand:16
The app was activated as the result of a voice command.

> [!NOTE]
> Not supported in Windows 8 and Windows 8.1 apps.
### -field LockScreen:17
The app was activated as the lock screen. Introduced in Windows 10.

### -field PickerReturned:1000
Windows Phone only. The app was activated after the completion of a picker.

### -field WalletAction:1001
Windows Phone only. The app was activated to perform a Wallet operation.

### -field PickFileContinuation:1002
Windows Phone only. The app was activated after the app was suspended for a file picker operation.

### -field PickSaveFileContinuation:1003
Windows Phone only. The app was activated after the app was suspended for a file save picker operation.

### -field PickFolderContinuation:1004
Windows Phone only. The app was activated after the app was suspended for a folder picker operation.

### -field WebAuthenticationBrokerContinuation:1005
Windows Phone only. The app was activated after the app was suspended for a web authentication broker operation.

### -field WebAccountProvider:1006
The app was activated by a web account provider. Introduced in Windows 10.

### -field ComponentUI:1007
Reserved for system use. Introduced in Windows 10.

### -field ProtocolForResults:1009
The app was launched by another app with the expectation that it will return a result back to the caller. Introduced in Windows 10.

### -field ToastNotification:1010
The app was activated when a user tapped on the body of a toast notification or performed an action inside a toast notification. Introduced in Windows 10.

### -field Print3DWorkflow:1011
This app was launched by another app to provide a customized printing experience for a 3D printer. Introduced in Windows 10.

### -field DialReceiver:1012
This app was launched by another app on a different device by using the DIAL protocol. Introduced in Windows 10.

### -field DevicePairing:1013
This app was activated as a result of pairing a device.

### -field UserDataAccountsProvider:1014
The app was launched to handle the user interface for account management. In circumstances where the system would have shown the default system user interface, it instead has invoked your app with the UserDataAccountProvider contract. The activation payload contains information about the type of operation being requested and all the information necessary to replicate the system-provided user interface.This activation kind is limited to 1st party apps. To use this field, you must add the **userDataAccountsProvider** capability in your app's package manifest. For more info see [App capability declarations](http://aka.ms/appcap).

Introduced in Windows 10, version 1607.

### -field FilePickerExperience:1015
Reserved for system use. Introduced in Windows 10, version 1607.


## -remarks

## -examples

## -see-also
[CachedFileUpdaterActivatedEventArgs.Kind](cachedfileupdateractivatedeventargs_kind.md), [CameraSettingsActivatedEventArgs.Kind](camerasettingsactivatedeventargs_kind.md), [ContactPickerActivatedEventArgs.Kind](contactpickeractivatedeventargs_kind.md), [DeviceActivatedEventArgs.Kind](deviceactivatedeventargs_kind.md), [FileActivatedEventArgs.Kind](fileactivatedeventargs_kind.md), [FileOpenPickerActivatedEventArgs.Kind](fileopenpickeractivatedeventargs_kind.md), [FileSavePickerActivatedEventArgs.Kind](filesavepickeractivatedeventargs_kind.md), [LaunchActivatedEventArgs.Kind](launchactivatedeventargs_kind.md), [LockScreenActivatedEventsArg.Kind](lockscreenactivatedeventargs_kind.md), [PrintTaskSettingsActivatedEventArgs.Kind](printtasksettingsactivatedeventargs_kind.md), [ProtocolActivatedEventArgs.Kind](protocolactivatedeventargs_kind.md), [SearchActivatedEventArgs.Kind](searchactivatedeventargs_kind.md), [ShareTargetActivatedEventArgs.Kind](sharetargetactivatedeventargs_kind.md), [WebUICachedFileUpdaterActivatedEventArgs.kind](../windows.ui.webui/webuicachedfileupdateractivatedeventargs_kind.md), [WebUICameraSettingsActivatedEventArgs.kind](../windows.ui.webui/webuicamerasettingsactivatedeventargs_kind.md), [WebUIContactPickerActivatedEventArgs.kind](../windows.ui.webui/webuicontactpickeractivatedeventargs_kind.md), [WebUIDeviceActivatedEventArgs.kind](../windows.ui.webui/webuideviceactivatedeventargs_kind.md), [WebUIFileActivatedEventArgs.kind](../windows.ui.webui/webuifileactivatedeventargs_kind.md), [WebUIFileOpenPickerActivatedEventArgs.kind](../windows.ui.webui/webuifileopenpickeractivatedeventargs_kind.md), [WebUIFileSavePickerActivatedEventArgs.kind](../windows.ui.webui/webuifilesavepickeractivatedeventargs_kind.md), [WebUILaunchActivatedEventArgs.kind](../windows.ui.webui/webuilaunchactivatedeventargs_kind.md), [WebUIPrintTaskSettingsActivatedEventArgs.kind](../windows.ui.webui/webuiprinttasksettingsactivatedeventargs_kind.md), [WebUIProtocolActivatedEventArgs.kind](../windows.ui.webui/webuiprotocolactivatedeventargs_kind.md), [WebUISearchActivatedEventArgs.kind](../windows.ui.webui/webuisearchactivatedeventargs_kind.md), [WebUIShareTargetActivatedEventArgs.kind](../windows.ui.webui/webuisharetargetactivatedeventargs_kind.md)
58 changes: 58 additions & 0 deletions windows.applicationmodel.activation/applicationexecutionstate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
-api-id: T:Windows.ApplicationModel.Activation.ApplicationExecutionState
-api-type: winrt enum
---

<!-- Enumeration syntax
public enum Windows.ApplicationModel.Activation.ApplicationExecutionState : int
-->

# ApplicationExecutionState

## -description
Specifies the execution state of the app.

## -enum-fields
### -field NotRunning:0
The app is not running.

### -field Running:1
The app is running.

### -field Suspended:2
The app is suspended.

### -field Terminated:3
The app was terminated after being suspended.

### -field ClosedByUser:4
The app was closed by the user.


## -remarks
This table provides more detail about when you'll see each of these states and what your app should do in response.

<table>
<tr><th>State</th><th>When this state is seen</th><th>What your app should do</th></tr>
<tr><td>**NotRunning**</td><td>The user first activates the app after:

<ul><li>installing the app from the Store</li><li>clicking **End task** in Task Manager while the app is running</li><li>rebooting the computer</li><li>logging off and back on</li></ul>The user closes the app through the close gesture or Alt+F4 and activates it within about 10 seconds of closing it.</td><td>Display its initial UI and perform initialization tasks.</td></tr>
<tr><td>**Running**</td><td>The app is activated through a secondary tile or one of the [activation contracts and extensions](http://msdn.microsoft.com/library/08800074-78ba-410a-962f-876da3463629) while it is running.</td><td>Respond to the activation event as appropriate.</td></tr>
<tr><td>**Suspended**</td><td>The app is activated through a secondary tile or one of the [activation contracts and extensions](http://msdn.microsoft.com/library/08800074-78ba-410a-962f-876da3463629) while Windows is suspending it or after Windows has suspended it.</td><td>Respond to the activation event as appropriate.</td></tr>
<tr><td>**Terminated**</td><td>Windows successfully suspends the app and then it is terminated. For example, Windows can terminate a suspended app if the system is running low on resources. Some apps, such as games, can be pretty resource intensive.</td><td>Restore itself to the way the user left it, rather than starting fresh. Use data saved during app suspension. Refresh content or network connections that may have become stale.</td></tr>
<tr><td>**ClosedByUser**</td><td>The user closes the app through the close gesture or Alt+F4 and takes longer than 10 seconds to activate the app again.</td><td>In Windows 8, display its initial UI and perform initialization tasks, rather than restoring its previous state.

In Windows 8.1, restore itself to the way the user left it, rather than starting fresh. Use data saved during app suspension. Refresh content or network connections that may have become stale.

> [!NOTE]
> If your Windows 8 app depends on the Windows 8**ClosedByUser** behavior, you can enable this behavior in your Windows 8.1 app when you upgrade it to Windows 8.1. To enable the Windows 8**ClosedByUser** behavior, set your Windows 8.1 app to terminate when the last window is closed with the [Windows.UI.ViewManagement.ApplicationView.TerminateAppOnFinalViewClose](../windows.ui.viewmanagement/applicationview_terminateapponfinalviewclose.md) property.</td></tr>
</table>
### Windows Phone 8

On Windows Phone, only **NotRunning** and **Suspended** are supported.

## -examples

## -see-also
[App lifecycle](http://msdn.microsoft.com/library/6c469e77-f1e3-4859-a27b-c326f9616d10), [UX guidelines for launch, suspend, and resume](http://msdn.microsoft.com/library/90770735-c2c5-4d3a-a21f-48a59e2a0ba9), [CachedFileUpdaterActivatedEventArgs.PreviousExecutionState](cachedfileupdateractivatedeventargs_previousexecutionstate.md), [CameraSettingsActivatedEventArgs.PreviousExecutionState](camerasettingsactivatedeventargs_previousexecutionstate.md), [ContactPickerActivatedEventArgs.PreviousExecutionState](contactpickeractivatedeventargs_previousexecutionstate.md), [DeviceActivatedEventArgs.PreviousExecutionState](deviceactivatedeventargs_previousexecutionstate.md), [FileActivatedEventArgs.PreviousExecutionState](fileactivatedeventargs_previousexecutionstate.md), [FileOpenPickerActivatedEventArgs.PreviousExecutionState](fileopenpickeractivatedeventargs_previousexecutionstate.md), [FileSavePickerActivatedEventArgs.PreviousExecutionState](filesavepickeractivatedeventargs_previousexecutionstate.md), [LaunchActivatedEventArgs.PreviousExecutionState](launchactivatedeventargs_previousexecutionstate.md), [PrintTaskSettingsActivatedEventArgs.PreviousExecutionState](printtasksettingsactivatedeventargs_previousexecutionstate.md), [ProtocolActivatedEventArgs.PreviousExecutionState](protocolactivatedeventargs_previousexecutionstate.md), [SearchActivatedEventArgs.PreviousExecutionState](searchactivatedeventargs_previousexecutionstate.md), [ShareTargetActivatedEventArgs.PreviousExecutionState](sharetargetactivatedeventargs_previousexecutionstate.md), [WebUICachedFileUpdaterActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuicachedfileupdateractivatedeventargs_previousexecutionstate.md), [WebUICameraSettingsActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuicamerasettingsactivatedeventargs_previousexecutionstate.md), [WebUIContactPickerActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuicontactpickeractivatedeventargs_previousexecutionstate.md), [WebUIDeviceActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuideviceactivatedeventargs_previousexecutionstate.md), [WebUIFileActivatedEventArgs.previousExecutionState](fileactivatedeventargs_previousexecutionstate.md), [WebUIFileOpenPickerActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuifileopenpickeractivatedeventargs_previousexecutionstate.md), [WebUIFileSavePickerActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuifilesavepickeractivatedeventargs_previousexecutionstate.md), [WebUILaunchActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuilaunchactivatedeventargs_previousexecutionstate.md), [WebUIPrintTaskSettingsActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuiprinttasksettingsactivatedeventargs_previousexecutionstate.md), [WebUIProtocolActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuiprotocolactivatedeventargs_previousexecutionstate.md), [WebUISearchActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuisearchactivatedeventargs_previousexecutionstate.md), [WebUIShareTargetActivatedEventArgs.previousExecutionState](../windows.ui.webui/webuisharetargetactivatedeventargs_previousexecutionstate.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
----api-id: T:Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs
-api-type: winrt class
---<!-- Class syntax.public class AppointmentsProviderAddAppointmentActivatedEventArgs : Windows.ApplicationModel.Activation.IActivatedEventArgs, Windows.ApplicationModel.Activation.IActivatedEventArgsWithUser, Windows.ApplicationModel.Activation.IAppointmentsProviderActivatedEventArgs, Windows.ApplicationModel.Activation.IAppointmentsProviderAddAppointmentActivatedEventArgs--># Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs## -descriptionProvides data when an app is activated to add an appointment to the user’s calendar.> **JavaScript**> This type appears as [WebUIAppointmentsProviderAddAppointmentActivatedEventArgs](../windows.ui.webui/webuiappointmentsprovideraddappointmentactivatedeventargs.md).## -remarksThis object is accessed when you override the [OnActivated](../windows.ui.xaml/application_onactivated.md) method, [IActivatedEventArgs.Kind](iactivatedeventargs_kind.md) is **AppointmentsProvider**, and [IAppointmentsProviderActivatedEventArgs.Verb](iappointmentsprovideractivatedeventargs_verb.md) is equal to the value of the [AppointmentsProviderLaunchActionVerbs.AddAppointment](../windows.applicationmodel.appointments.appointmentsprovider/appointmentsproviderlaunchactionverbs_addappointment.md) property.## -examples## -see-also[IAppointmentsProviderAddAppointmentActivatedEventArgs](iappointmentsprovideraddappointmentactivatedeventargs.md), [IAppointmentsProviderActivatedEventArgs](iappointmentsprovideractivatedeventargs.md), [IActivatedEventArgs](iactivatedeventargs.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
----api-id: P:Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs.AddAppointmentOperation
-api-type: winrt property
---<!-- Property syntaxpublic Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation AddAppointmentOperation { get; }--># Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs.AddAppointmentOperation## -descriptionGets the appointment that is provided to the app when the user tries to add it.## -property-valueThe appointment that is added.## -remarks## -examples## -see-also
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
----api-id: P:Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs.Kind
-api-type: winrt property
---<!-- Property syntaxpublic Windows.ApplicationModel.Activation.ActivationKind Kind { get; }--># Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs.Kind## -descriptionGets the activation type.## -property-valueThe [ActivationKind.AppointmentsProvider](activationkind.md) enumeration value.## -remarks## -examples## -see-also[ActivationKind](activationkind.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
----api-id: P:Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs.PreviousExecutionState
-api-type: winrt property
---<!-- Property syntaxpublic Windows.ApplicationModel.Activation.ApplicationExecutionState PreviousExecutionState { get; }--># Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs.PreviousExecutionState## -descriptionGets the execution state of the app before it was activated.## -property-valueOne of the enumeration values.## -remarks## -examples## -see-also
Expand Down
Loading

0 comments on commit 44b7e73

Please sign in to comment.