UriParser.OnNewUri 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.

Invoked by a Uri constructor to get a UriParser instance

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

protected virtual UriParser OnNewUri()

Return Value

Type: System.UriParser

A UriParser for the constructed Uri.

The default implementation returns the same UriParser instance. You may need to override this method and return a different UriParser for each invocation if you are operating in a multithreaded environment.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: