Table of Contents

Method TryParse

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

TryParse(string?, IFormatProvider?, out ListeningPort)

Tries to parse a string into a ListeningPort.

static bool TryParse(string? s, IFormatProvider? provider, out ListeningPort result)

Parameters

s string

The string to parse.

provider IFormatProvider

An object that provides culture-specific formatting information about s.

result ListeningPort

When this method returns, contains the result of successfully parsing s or an undefined value on failure.

Returns

bool