Share via


IFWXTaskCompletion::CompleteTask method

Applies to: desktop apps only

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 [in]
    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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

See also

IFWXTaskCompletion

 

 

Build date: 7/12/2010