次の方法で共有


CommunicationProgrammableConnectivityModelFactory.SimSwapVerificationContent Method

Definition

Initializes a new instance of SimSwapVerificationContent.

public static Azure.Communication.ProgrammableConnectivity.SimSwapVerificationContent SimSwapVerificationContent (string phoneNumber = default, int? maxAgeHours = default, Azure.Communication.ProgrammableConnectivity.NetworkIdentifier networkIdentifier = default);
static member SimSwapVerificationContent : string * Nullable<int> * Azure.Communication.ProgrammableConnectivity.NetworkIdentifier -> Azure.Communication.ProgrammableConnectivity.SimSwapVerificationContent
Public Shared Function SimSwapVerificationContent (Optional phoneNumber As String = Nothing, Optional maxAgeHours As Nullable(Of Integer) = Nothing, Optional networkIdentifier As NetworkIdentifier = Nothing) As SimSwapVerificationContent

Parameters

phoneNumber
String

Phone number in E.164 format (starting with country code), and optionally prefixed with '+'.

maxAgeHours
Nullable<Int32>

Maximum lookback for SimSwap verification.

networkIdentifier
NetworkIdentifier

Identifier for the network to query for this device.

Returns

A new SimSwapVerificationContent instance for mocking.

Applies to