Cancel Method of the IFWXFirewallAction Interface

The Cancel method cancels a Microsoft Firewall service action.

Syntax

HRESULT Cancel();

Parameters

This method has no parameters.

Return Value

  • S_OK
    The method succeeded.

  • FWX_E_TERMINATING
    The action has already been canceled.

Remarks

The Firewall service can automatically cancel certain actions, including:

  • Actions that are supposed to happen only once (the action is canceled after its first occurrence).
  • Actions that have a time-out.
  • An action associated with a session that has been killed.

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.

DLL

Requires Wspsrv.exe.

See Also

IFWXFirewallAction
IFWXSession::AllowFutureConnect
IFWXSession::SetDataFilterFactory

Send comments about this topic to Microsoft

Build date: 6/30/2010