This documentation is archived and is not being maintained.

TeamFoundationServiceUnavailableException Constructor (String, String)

Initializes a new instance of the TeamFoundationServiceUnavailableException class with the specified server name or URL and reason.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public:
TeamFoundationServiceUnavailableException(
	String^ nameOrUrl, 
	String^ reason
)

Parameters

nameOrUrl
Type: System::String

The name or URL of the server.

reason
Type: System::String

A string describing why servicing is not possible.

Show: