Edit

Share via


NEAppProxyProvider.StopProxyAsync(NEProviderStopReason) Method

Definition

Stops the proxy with the specified reason and runs completionHanler when the operation is complete.

public virtual System.Threading.Tasks.Task StopProxyAsync (NetworkExtension.NEProviderStopReason reason);
abstract member StopProxyAsync : NetworkExtension.NEProviderStopReason -> System.Threading.Tasks.Task
override this.StopProxyAsync : NetworkExtension.NEProviderStopReason -> System.Threading.Tasks.Task

Parameters

Returns

A task that represents the asynchronous StopProxy operation

Remarks

The StopProxyAsync 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