NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

URLFormatException Class

An exception class used when an invalid Uniform Resource Identifier is detected.

Object
   Exception
      URIFormatException
         URLFormatException

[Visual Basic]
Public Class URLFormatException
   Inherits URIFormatException
[C#]
public class URLFormatException : URIFormatException
[C++]
public __gc class URLFormatException : public URIFormatException
[JScript]
public class URLFormatException extends URIFormatException

Remarks

The URLFormatException is thrown by any method that takes a URI or URI prefix as one of its parameters and the URI is malformed in someway, such as the following URI: "http://skj-\sdf\/\."

Requirements

Namespace: System.Net

Assembly: System.net.dll

See Also

URLFormatException Members | System.Net Namespace