Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft