次の方法で共有


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)

Syntax

'Declaration
Public Sub New ( _
    nameOrUrl As String, _
    reason As String _
)
public TeamFoundationServiceUnavailableException(
    string nameOrUrl,
    string reason
)
public:
TeamFoundationServiceUnavailableException(
    String^ nameOrUrl, 
    String^ reason
)
new : 
        nameOrUrl:string * 
        reason:string -> TeamFoundationServiceUnavailableException
public function TeamFoundationServiceUnavailableException(
    nameOrUrl : String, 
    reason : String
)

Parameters

  • reason
    Type: System.String

    A string describing why servicing is not possible.

.NET Framework Security

See Also

Reference

TeamFoundationServiceUnavailableException Class

TeamFoundationServiceUnavailableException Overload

Microsoft.TeamFoundation Namespace