DataShareError 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.
Identifies an error reported during a content-capture data-sharing request.
public enum DataShareError
type DataShareError =
- Inheritance
-
DataShareError
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 1 | Error happened during the data sharing session. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ConcurrentRequest | 2 | Request has been rejected, because a concurrent data share sessions is in progress. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| TimeoutInterrupted | 3 | Request has been interrupted because of data share session timeout. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
The codes distinguish an unspecified failure, a concurrent request, and interruption by a session timeout. Each value is a separate error code, not a combination of flags.