Upraviť

Zdieľať cez


UriParser.OnNewUri Method

Definition

Invoked by a Uri constructor to get a UriParser instance.

protected:
 virtual UriParser ^ OnNewUri();
protected virtual UriParser OnNewUri ();
abstract member OnNewUri : unit -> UriParser
override this.OnNewUri : unit -> UriParser
Protected Overridable Function OnNewUri () As UriParser

Returns

A UriParser for the constructed Uri.

Remarks

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.

Applies to