Share via


IWebViewControl.GetDeferredPermissionRequestById Method

Definition

Returns the deferred permission request with the specified Id.

public:
 void GetDeferredPermissionRequestById(unsigned int id, [Out] WebViewControlDeferredPermissionRequest ^ & result);
void GetDeferredPermissionRequestById(uint32_t const& id, [Out] WebViewControlDeferredPermissionRequest const& & result);
public void GetDeferredPermissionRequestById(uint id, out WebViewControlDeferredPermissionRequest result);
Public Sub GetDeferredPermissionRequestById (id As UInteger, ByRef result As WebViewControlDeferredPermissionRequest)

Parameters

id
UInt32

unsigned int

uint32_t

The Id of the deferred permission request.

result
WebViewControlDeferredPermissionRequest

The deferred permission request with the specified Id.

Remarks

When a WebViewPermissionRequest is deferred, a WebViewDeferredPermissionRequest is created with the same Id and added to the DeferredPermissionRequests collection. When you are ready to act on the request, call the DeferredPermissionRequestById method and pass the Id of the deferred request. After you retrieve the request, you can call the Allow method to grant the request, or call the Deny method to deny the request.

Applies to