Transfers the input if its value is in the format of a Telephone number. Otherwise a ValidationException is thrown.

Default validation format As: Any local, domestic or international telephone. for example +1-000-000-0000 for international US, 000-00000 for local Germany, etc.

Namespace: Keystone.Clockwork
Assembly: Keystone.Clockwork (in Keystone.Clockwork.dll)

public class TelephoneNumber : Format
This language is not supported or no code example is available.

Return Value

The original Validate<Input if the specified value is valid.
Exception type Condition

ValidationException

If the Validate<Input value is not valid.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono