Bewerken

Share via


UriParser.OnRegister(String, Int32) Method

Definition

Invoked by the Framework when a UriParser method is registered.

protected:
 virtual void OnRegister(System::String ^ schemeName, int defaultPort);
protected virtual void OnRegister (string schemeName, int defaultPort);
abstract member OnRegister : string * int -> unit
override this.OnRegister : string * int -> unit
Protected Overridable Sub OnRegister (schemeName As String, defaultPort As Integer)

Parameters

schemeName
String

The scheme that is associated with this UriParser.

defaultPort
Int32

The port number of the scheme.

Applies to