RatedContentRestrictions.GetBrowsePolicyAsync Method

Retrieves a description of the current browse policy.

Syntax

public:
IAsyncOperation<ContentRestrictionsBrowsePolicy^ >^ GetBrowsePolicyAsync()  

Return value

Type: IAsyncOperation<ContentRestrictionsBrowsePolicy^ > 

Returns an IAsyncOperation<TResult> object that represents the state of the asynchronous operation. Completion of the asynchronous operation is signaled by using a handler that is passed to the IAsyncOperation<TResult>.Completed property. When the asynchronous operation is complete, the result of the operation can be retrieved by using the IAsyncOperation<TResult>.GetResults method.
The result is an object representing the browse policy currently in force.

Requirements

Namespace: Windows.Media.ContentRestrictions

Metadata: windows.winmd

See also

Reference

RatedContentRestrictions Class

RatedContentRestrictions Members

Windows.Media.ContentRestrictions Namespace