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 | An error occurred 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 | The request was rejected because another data-sharing session 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 | The request was interrupted because the data-sharing session timed out. 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.