UriParser::OnNewUri Method ()

 

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: