Uri.Parse Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

This API supports the product infrastructure and is not intended to be used directly from your code.

Parses the URI of the current instance to ensure it contains all the parts required for a valid URI.

Namespace:   System
Assembly:  System (in System.dll)

[ObsoleteAttribute("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void Parse()

Exception Condition
UriFormatException

The Uri passed from the constructor is invalid.

.NET Framework
Available since 1.1
Return to top
Show: