編輯

共用方式為


NETunnelProviderSession.SendProviderMessage Method

Definition

Sends the messageData to the Tunnel Provider extension.

[Foundation.Export("sendProviderMessage:returnError:responseHandler:")]
public virtual bool SendProviderMessage (Foundation.NSData messageData, out Foundation.NSError error, Action<Foundation.NSData> responseHandler);
abstract member SendProviderMessage : Foundation.NSData *  * Action<Foundation.NSData> -> bool
override this.SendProviderMessage : Foundation.NSData *  * Action<Foundation.NSData> -> bool

Parameters

messageData
NSData
error
NSError

To be added.

This parameter can be null.

responseHandler
Action<NSData>

To be added.

This parameter can be null.

Returns

Attributes

Applies to