你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SimSwap Class

Definition

SIM Swap API provides the customer the ability to obtain information on any recent SIM pairing change related to the User's mobile account.

public class SimSwap
type SimSwap = class
Public Class SimSwap
Inheritance
SimSwap

Constructors

SimSwap()

Initializes a new instance of SimSwap for mocking.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

Retrieve(String, RequestContent, RequestContext)

[Protocol Method] Provides timestamp of latest SIM swap

Retrieve(String, SimSwapRetrievalContent, CancellationToken)

Provides timestamp of latest SIM swap.

RetrieveAsync(String, RequestContent, RequestContext)

[Protocol Method] Provides timestamp of latest SIM swap

RetrieveAsync(String, SimSwapRetrievalContent, CancellationToken)

Provides timestamp of latest SIM swap.

Verify(String, RequestContent, RequestContext)

[Protocol Method] Verifies if a SIM swap has been performed during a past period (defined in the request with 'maxAgeHours' attribute). Returns 'True' if a SIM swap has occured.

Verify(String, SimSwapVerificationContent, CancellationToken)

Verifies if a SIM swap has been performed during a past period (defined in the request with 'maxAgeHours' attribute). Returns 'True' if a SIM swap has occured.

VerifyAsync(String, RequestContent, RequestContext)

[Protocol Method] Verifies if a SIM swap has been performed during a past period (defined in the request with 'maxAgeHours' attribute). Returns 'True' if a SIM swap has occured.

VerifyAsync(String, SimSwapVerificationContent, CancellationToken)

Verifies if a SIM swap has been performed during a past period (defined in the request with 'maxAgeHours' attribute). Returns 'True' if a SIM swap has occured.

Applies to