Displays a preview of the secondary tile at the specified point, together with a confirmation dialog to delete the tile.
Syntax
secondaryTile.requestDeleteAsync(invocationPoint).done( /* Your success and error handlers */ );
Parameters
- invocationPoint
-
Type: Point
The point of the lower-right corner of the tile.
Return value
Type: IAsyncOperation<Boolean>
An object that provides information concerning the asynchronous delete operation.
Remarks
The only property that must be set on the tile before calling this method is tileId.
This method returns an asynchronous Boolean value through its IAsyncOperation.getResults method as shown here.
[JavaScript]
oSecondaryTile.requestCreateAsync( { x:100, y:100 } ).then( function (isDeleted) { } );
[C#]
void async showTileCreateRequest( SecondaryTile tile, Point pt)
{
bool isDeleted = await tile.requestCreateAsync( pt );
}
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012