MCError 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.
An enumeration whose values specify various errors relating to multipeer connectivity.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum MCError
type MCError =
- Inheritance
-
MCError
- Attributes
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | The type of the error could not be determined. |
NotConnected | 1 | Data was sent to a peer that is not connected. |
InvalidParameter | 2 | The relevant operation was called with an invalid parameter. |
Unsupported | 3 | The relevant operation is not supported (for instance, an attempt to send a non-local or non-Web-based resource). |
TimedOut | 4 | Indicates a connection or data-transmission time-out. |
Cancelled | 5 | The relevant operation was cancelled. |
Unavailable | 6 | Indicates that Multipeer Connectivity is not available. |