Share via


SecondaryTile.RequestDeleteAsync Method

Definition

Overloads

RequestDeleteAsync()

Displays the Unpin from Start flyout. This flyout lets the user confirm removal of the secondary tile.

RequestDeleteAsync(Point)

Displays the Unpin from Start flyout at a specified point. This flyout lets the user confirm removal of the secondary tile.

RequestDeleteAsync()

Displays the Unpin from Start flyout. This flyout lets the user confirm removal of the secondary tile.

public:
 virtual IAsyncOperation<bool> ^ RequestDeleteAsync() = RequestDeleteAsync;
/// [Windows.Foundation.Metadata.Overload("RequestDeleteAsync")]
IAsyncOperation<bool> RequestDeleteAsync();
[Windows.Foundation.Metadata.Overload("RequestDeleteAsync")]
public IAsyncOperation<bool> RequestDeleteAsync();
function requestDeleteAsync()
Public Function RequestDeleteAsync () As IAsyncOperation(Of Boolean)

Returns

An object that provides information concerning the asynchronous delete operation.

Attributes

Applies to

RequestDeleteAsync(Point)

Displays the Unpin from Start flyout at a specified point. This flyout lets the user confirm removal of the secondary tile.

public:
 virtual IAsyncOperation<bool> ^ RequestDeleteAsync(Point invocationPoint) = RequestDeleteAsync;
/// [Windows.Foundation.Metadata.Overload("RequestDeleteAsyncWithPoint")]
IAsyncOperation<bool> RequestDeleteAsync(Point const& invocationPoint);
[Windows.Foundation.Metadata.Overload("RequestDeleteAsyncWithPoint")]
public IAsyncOperation<bool> RequestDeleteAsync(Point invocationPoint);
function requestDeleteAsync(invocationPoint)
Public Function RequestDeleteAsync (invocationPoint As Point) As IAsyncOperation(Of Boolean)

Parameters

invocationPoint
Point

The point used as the lower-right corner of the Pin to Start flyout.

Returns

An object that provides information concerning the asynchronous delete operation.

Attributes

Remarks

The only property that must be set on the tile before calling this method is TileId. If TileId is not set, the call to this method raises an exception.

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

void async showTileCreateRequest( SecondaryTile tile, Point pt)  
{
    bool isDeleted = await tile.requestCreateAsync( pt );  
}

Applies to