Share via


DeferrableEventArgs::GetDeferral Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at DeferrableEventArgs::GetDeferral Method.

Gets a reference to the Deferral object which represents a deferred event.

Syntax

HRESULT GetDeferral([out, retval] Windows::Foundation::IDeferral** result)  

Parameters

result
A pointer that will reference the Deferral object when the call completes.

Return Value

S_OK if successful; otherwise, an HRESULT that indicates the error.

Remarks

For a code example, see DeferrableEventArgs Class.

Requirements

Header: event.h

Namespace: Microsoft::WRL

See Also

DeferrableEventArgs Class