MSConversation.SendAttachmentAsync(NSUrl, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task SendAttachmentAsync (Foundation.NSUrl url, string filename);
abstract member SendAttachmentAsync : Foundation.NSUrl * string -> System.Threading.Tasks.Task
override this.SendAttachmentAsync : Foundation.NSUrl * string -> System.Threading.Tasks.Task
参数
- url
- NSUrl
- filename
- String
要添加。此参数可以是 。
返回
表示异步 SendAttachment 操作的任务
- 属性
注解
SendAttachmentAsync 方法适合用于 C# 异步,方法是将控件返回到具有表示操作的 Task 的调用方。
内容待定。