PhoneNumberToString Method

Returns the phone number in an E.164 format for use with third-party services (like Azure Communication Services), but this isn't very readable for humans.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public override string ToString()

Return Value

String
Phone number for use with third-party services

Exceptions

InvalidOperationExceptionIf the phone number is in a Empty state, which cannot be allowed in this case.

See Also