SecondaryTile.RequestCreateAsync(Point) | requestCreateAsync(Point) method

This topic has not yet been rated - Rate this topic

Displays a preview of the secondary tile at the specified point, together with a confirmation dialog to create the tile.

Syntax


secondaryTile.requestCreateAsync(invocationPoint).done( /* Your success and error handlers */ );

Parameters

invocationPoint

Type: Point

The point used as the lower-right corner of the tile.

Return value

Type: IAsyncOperation<Boolean>

An object that provides information concerning the asynchronous create operation.

Remarks

After a secondary tile is created, you must provide the following properties before it is displayed:

This method returns an asynchronous Boolean value through its IAsyncOperation.getResults method as shown here.


  
[JavaScript]  
oSecondaryTile.requestCreateAsync( { x:100, y:100 } ).then( function (isPinned) { } );      

[C#]  
async void showTileCreateRequest( SecondaryTile tile, Point pt )  
{      
    bool isPinned = await tile.requestCreateAsync( pt );  
}

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.StartScreen
Windows::UI::StartScreen [C++]

Metadata

Windows.winmd

See also

SecondaryTile
RequestCreateAsync
Secondary tiles sample

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.