OnNewUri Method
Collapse the table of content
Expand the table of content

UriParser.OnNewUri Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:
© 2017 Microsoft