Server.CancelAsyncOperation Method

Language:

Warning: This method is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Cancels asynchronous requests. Many methods of the Play8serverDplay object run asynchronously by default. Depending on the situation, you might want to cancel requests before they are processed. All the methods of this object that can be run asynchronously return an hAsyncHandle parameter.Specific requests are canceled by passing the hAsyncHandle of the request in this method's hAsyncHandle parameter. You can cancel all pending asynchronous operations by calling this method, specifying NULL in the hAsyncHandle parameter, and specifying DPNCANCEL_ALL_OPERATIONS in the dwFlags parameter. If a specific handle is provided to this method, no flags should be set. Deprecated.

Overload List

public void CancelAsyncOperation(CancelFlags);
public void CancelAsyncOperation(int);

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center