Contents Previous Page Next Page
IBinding::Abort

Permanently ends the bind operation.

HRESULT Abort(void);

Return Values

S_OK

The bind operation was successfully aborted.

S_FALSE

The bind operation was already aborted.

E_FAIL

The bind operation could not be aborted.

Remarks

When a bind operation is aborted, it calls IBindStatusCallback::OnStopBinding with a corresponding error code or failure of the IMoniker::BindToObject or the IMoniker::BindToStorage call in case this call did not previously return.

After aborting the bind operation, the client must still release any pointers obtained during the binding, and the client may still receive some notifications about the binding.

Note Calling the last IBinding::Release does not terminate the bind operation.

See Also

IBindStatusCallback::OnStopBinding