編輯

共用方式為


NSFileManager.GetFileProviderServicesAsync(NSUrl) Method

Definition

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSDictionary<Foundation.NSString,Foundation.NSFileProviderService>> GetFileProviderServicesAsync (Foundation.NSUrl url);
abstract member GetFileProviderServicesAsync : Foundation.NSUrl -> System.Threading.Tasks.Task<Foundation.NSDictionary<Foundation.NSString, Foundation.NSFileProviderService>>
override this.GetFileProviderServicesAsync : Foundation.NSUrl -> System.Threading.Tasks.Task<Foundation.NSDictionary<Foundation.NSString, Foundation.NSFileProviderService>>

Parameters

url
NSUrl

Returns

A task that represents the asynchronous GetFileProviderServices operation. The value of the TResult parameter is of type System.Action<Foundation.NSDictionary<Foundation.NSString,Foundation.NSFileProviderService>,Foundation.NSError>.

Attributes

Remarks

The GetFileProviderServicesAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to