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.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

See Also

IFWXTaskCompletion


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.