CSharpTest.Net
Start Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Http Namespace > HttpServer Class : Start Method

prefixes
see http://msdn.microsoft.com/en-us/library/system.net.httplistenerprefixcollection.add.aspx

Glossary Item Box

Starts the HttpServer listening on the prefixes supplied. use "http://+:80/" to match any host identifier not already mapped, or "http://*:80/" to match all host identifiers.

Syntax

Visual Basic (Declaration) 
Public Sub Start( _
   ByVal prefixes() As String _
) 
C# 
public void Start( 
   string[] prefixes
)

Parameters

prefixes
see http://msdn.microsoft.com/en-us/library/system.net.httplistenerprefixcollection.add.aspx

Exceptions

ExceptionDescription
System.ArgumentExceptionThe exception that is thrown when one of the arguments provided to a method is not valid.
System.UnauthorizedAccessExceptionThe exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys