Class GetSmsMessageOperation

Index

Properties

Methods

Properties

public completed: AsyncOperationCompletedHandler

public errorCode: number

public id: number

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

public operation.completed: AsyncOperationCompletedHandler

public getResults(): ISmsMessage

Returns

ISmsMessage

public status: AsyncStatus

Methods

public cancel()

public close()

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

Parameters

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

public getResults(): ISmsMessage

Returns

ISmsMessage

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

Parameters

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

Returns

IPromise

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

Parameters

  • success?: (value: 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.Devices.Sms.ISmsMessage) => U, error?: (error: any) => Windows.Foundation.IPromise<U>, progress?: (progress: any) => void): IPromise

Parameters

  • success?: (value: 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.Devices.Sms.ISmsMessage) => Windows.Foundation.IPromise<U>, error?: (error: any) => Windows.Foundation.IPromise<U>, progress?: (progress: any) => void): IPromise

Parameters

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

Returns

IPromise