OnRegister Method
Collapse the table of content
Expand the table of content

UriParser.OnRegister Method

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

Invoked by the Framework when a UriParser method is registered.

Namespace:  System
Assembly:  System (in System.dll)

protected virtual void OnRegister(
	string schemeName,
	int defaultPort


Type: System.String
The scheme that is associated with this UriParser.
Type: System.Int32
The port number of the scheme.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft