Class GetSmsMessagesOperation

Index

Properties

Methods

Properties

public completed: AsyncOperationWithProgressCompletedHandler

public errorCode: number

public id: number

public operation: { progress: Windows.Foundation.AsyncOperationProgressHandler<Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>, number>; completed: Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>>; getResults(): Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>; }

public operation.completed: AsyncOperationCompletedHandler

public operation.progress: AsyncOperationProgressHandler

public getResults(): IVectorView

Returns

IVectorView

public progress: AsyncOperationProgressHandler

public status: AsyncStatus

Methods

public cancel()

public close()

public done(success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => any, error?: (error: any) => any, progress?: (progress: any) => void)

Parameters

  • success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => any optional
  • error?: (error: any) => any optional
  • progress?: (progress: any) => void optional

public getResults(): IVectorView

Returns

IVectorView

public then(success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise

Parameters

  • success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => U optional
  • error?: (error: any) => U optional
  • progress?: (progress: any) => void optional

Returns

IPromise

public then(success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => Windows.Foundation.IPromise<U>, error?: (error: any) => U, progress?: (progress: any) => void): IPromise

Parameters

  • success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => Windows.Foundation.IPromise<U> optional
  • error?: (error: any) => U optional
  • progress?: (progress: any) => void optional

Returns

IPromise

public then(success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => U, error?: (error: any) => Windows.Foundation.IPromise<U>, progress?: (progress: any) => void): IPromise

Parameters

  • success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => U optional
  • error?: (error: any) => Windows.Foundation.IPromise<U> optional
  • progress?: (progress: any) => void optional

Returns

IPromise

public then(success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => Windows.Foundation.IPromise<U>, error?: (error: any) => Windows.Foundation.IPromise<U>, progress?: (progress: any) => void): IPromise

Parameters

  • success?: (value: Windows.Foundation.Collections.IVectorView<Windows.Devices.Sms.ISmsMessage>) => Windows.Foundation.IPromise<U> optional
  • error?: (error: any) => Windows.Foundation.IPromise<U> optional
  • progress?: (progress: any) => void optional

Returns

IPromise