Class DataWriterStoreOperation

Index

Properties

Methods

Properties

public completed: AsyncOperationCompletedHandler

public errorCode: number

public id: number

public operation: { completed: Windows.Foundation.AsyncOperationCompletedHandler<number>; getResults(): number; }

public operation.completed: AsyncOperationCompletedHandler

public getResults(): number

Returns

number

public status: AsyncStatus

Methods

public cancel()

public close()

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

Parameters

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

public getResults(): number

Returns

number

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

Parameters

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

Returns

IPromise

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

Parameters

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

Returns

IPromise

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

Parameters

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

Returns

IPromise

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

Parameters

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

Returns

IPromise