UriParser.OnNewUri Method

May 11, 2014

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft