NEAppProxyProvider.StopProxyAsync(NEProviderStopReason) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- reason
- NEProviderStopReason
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.