System Namespace


.NET Framework Class Library
UriParser Class

Parses a new URI scheme. This is an abstract class.

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

Visual Basic (Declaration)
Public MustInherit Class UriParser
Visual Basic (Usage)
Dim instance As UriParser
C#
public abstract class UriParser
Visual C++
public ref class UriParser abstract
JScript
public abstract class UriParser
Remarks

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 the .NET Framework. Building your own parser increases the complexity of your application, and will not perform as well as the shipped parsers.

Inheritance Hierarchy

System..::.Object
  System..::.UriParser
    System..::.FileStyleUriParser
    System..::.FtpStyleUriParser
    System..::.GenericUriParser
    System..::.GopherStyleUriParser
    System..::.HttpStyleUriParser
    System..::.LdapStyleUriParser
    System..::.NetPipeStyleUriParser
    System..::.NetTcpStyleUriParser
    System..::.NewsStyleUriParser
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0
See Also

Reference

Tags :


Page view tracker