Click or drag to resize

URNParse(String, Boolean) Method

Constructs a URN instance by parsing the provided String

Namespace: Sportradar.OddsFeed.SDK.Messages
Assembly: Sportradar.OddsFeed.SDK.Messages (in Sportradar.OddsFeed.SDK.Messages.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
public static URN Parse(
	string urnString,
	bool isCustomType
)

Parameters

urnString  String
The String representation of the URN
isCustomType  Boolean
Indicates if the urn type is for custom use

Return Value

URN
A URN constructed by parsing the provided string representation
Exceptions
ExceptionCondition
FormatExceptionThe format of the provided representation is not correct
See Also