string siloAddressString = "127.0.0.1:11111;31a2d43a-bc98-4bfe-9d55-eb8d8cec1a6e"; SiloAddress siloAddress = SiloAddress.FromParsableString(siloAddressString);
string invalidSiloAddressString = "127.0.0.1:11111"; SiloAddress invalidSiloAddress = SiloAddress.FromParsableString(invalidSiloAddressString);In this example, we have a string that represents the address of a silo with an IP address of 127.0.0.1 and a port of 11111, but it is missing the unique identifier. This string is invalid, so the FromParsableString method will throw an exception. The SiloAddress class is part of the Orleans.Core.Abstractions package in the Orleans framework.