Interface IAsyncAction

Hierarchy

Index

Properties

Methods

Properties

public completed: AsyncActionCompletedHandler

public errorCode: number

public id: number

public status: AsyncStatus

Methods

public cancel()

public close()

optional public done(success?: () => any, error?: (error: any) => any, progress?: (progress: any) => void)

Parameters

  • success?: () => any optional
  • error?: (error: any) => any optional
  • progress?: (progress: any) => void optional

public getResults()

public then(success?: () => Windows.Foundation.IPromise<U>, error?: (error: any) => Windows.Foundation.IPromise<U>, progress?: (progress: any) => void): IPromise

Parameters

  • success?: () => Windows.Foundation.IPromise<U> optional
  • error?: (error: any) => Windows.Foundation.IPromise<U> optional
  • progress?: (progress: any) => void optional

Returns

IPromise

public then(success?: () => Windows.Foundation.IPromise<U>, error?: (error: any) => U, progress?: (progress: any) => void): IPromise

Parameters

  • success?: () => Windows.Foundation.IPromise<U> optional
  • error?: (error: any) => U optional
  • progress?: (progress: any) => void optional

Returns

IPromise

public then(success?: () => U, error?: (error: any) => Windows.Foundation.IPromise<U>, progress?: (progress: any) => void): IPromise

Parameters

  • success?: () => U optional
  • error?: (error: any) => Windows.Foundation.IPromise<U> optional
  • progress?: (progress: any) => void optional

Returns

IPromise

public then(success?: () => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise

Parameters

  • success?: () => U optional
  • error?: (error: any) => U optional
  • progress?: (progress: any) => void optional

Returns

IPromise