Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses a new URI scheme. This is an abstract class.
public ref class UriParser abstract
public abstract class UriParser
type UriParser = class
Public MustInherit Class UriParser
The UriParser class enables you to create parsers for new URI schemes. You can write these parsers in their entirety, or the parsers can be derived from well-known schemes (HTTP, FTP, and other schemes based on network protocols). If you want to create a completely new parser, inherit from GenericUriParser. If you want to create a parser that extends a well-known URI scheme, inherit from FtpStyleUriParser, HttpStyleUriParser, FileStyleUriParser, GopherStyleUriParser, or LdapStyleUriParser.
Microsoft strongly recommends that you use a parser shipped with .NET. Building your own parser increases the complexity of your application, and will not perform as well as the shipped parsers.
Constructs a default URI parser.
Determines whether the specified object is equal to the current object.(Inherited from Object)
|GetComponents(Uri, UriComponents, UriFormat)||
Gets the components from a URI.
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Initialize the state of the parser and validate the URI.
Indicates whether the parser for a scheme is registered.
Indicates whether a URI is well-formed.
Creates a shallow copy of the current Object.(Inherited from Object)
Invoked by the Framework when a UriParser method is registered.
|Register(UriParser, String, Int32)||
Associates a scheme and port number with a UriParser.
|Resolve(Uri, Uri, UriFormatException)|
Returns a string that represents the current object.(Inherited from Object)