Bewerken

Delen via


MCErrorExtensions Class

Definition

Extension methods for the MultipeerConnectivity.MCError enumeration.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static class MCErrorExtensions
type MCErrorExtensions = class
Inheritance
MCErrorExtensions
Attributes

Remarks

The extension method for the MultipeerConnectivity.MCError enumeration can be used to fetch the error domain associated with these error codes.

Methods

GetDomain(MCError)

Returns the error domain associated with the MultipeerConnectivity.MCError value

Applies to