DeferrableEventArgs::GetDeferral Method

Visual Studio 2015
 

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.

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

Parameters

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

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

For a code example, see DeferrableEventArgs Class.

Header: event.h

Namespace: Microsoft::WRL

DeferrableEventArgs Class

Show: