CompleteTask Method of the IFWXTaskCompletion Interface
The CompleteTask method receives a notification when a task posted using the IFWXFirewall2::PostTaskCompletion method has completed.
Syntax
HRESULT CompleteTask(
[in] UserContextType UserData
);
Parameters
- UserData
The UserData parameter that differentiates between completion notifications.
Return Value
Implementations of this method should handle any run-time error and return S_OK.
Remarks
The UserData parameter provides a context to the notification. You can use the same notification interface for a number of completion notifications and differentiate among them by using different values for UserData.
Requirements
| Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
| Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
| Header | Declared in Wspfwext.idl. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010