AppServiceResponseStatus Enum
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.
Describes the status when an app tries to send a message to an app service by calling the AppServiceConnection.SendMessageAsync method. App service providers enable app-to-app communication by providing services that other Universal Windows app can consume.
public enum class AppServiceResponseStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AppServiceResponseStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AppServiceResponseStatus
var value = Windows.ApplicationModel.AppService.AppServiceResponseStatus.success
Public Enum AppServiceResponseStatus
- Inheritance
-
AppServiceResponseStatus
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Success | 0 | The app service successfully received and processed the message. |
Failure | 1 | The app service failed to receive and process the message. |
ResourceLimitsExceeded | 2 | The app service exited because not enough resources were available. |
Unknown | 3 | An unknown error occurred. |
RemoteSystemUnavailable | 4 | The device to which the message was sent is not available. |
MessageSizeTooLarge | 5 | The app service failed to process the message because it is too large. |
AppUnavailable | 6 | The operation failed due to the app failing to start. |
AuthenticationError | 7 | The operation failed due to unsuccessful account authentication. The user must re-validate the account to continue. |
NetworkNotAvailable | 8 | The operation failed due to lack of an internet connection. |
DisabledByPolicy | 9 | The operation failed, as the app service needed service or capabilities disabled by some policies on the local or remote device. |
WebServiceUnavailable | 10 | The operation failed because one or more necessary cloud services were temporarily unavailable. |
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1607 | 14393 | MessageSizeTooLarge |
1607 | 14393 | RemoteSystemUnavailable |
2004 | 19041 | AppUnavailable |
2004 | 19041 | AuthenticationError |
2004 | 19041 | DisabledByPolicy |
2004 | 19041 | NetworkNotAvailable |
2004 | 19041 | WebServiceUnavailable |