TeamFoundationServiceUnavailableException Constructor (String, String, Exception)

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

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

Syntax

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

Parameters

  • reason
    Type: System.String

    A string describing why servicing is not possible.

  • innerException
    Type: System.Exception

    The exception that caused this exception.

.NET Framework Security

See Also

Reference

TeamFoundationServiceUnavailableException Class

TeamFoundationServiceUnavailableException Overload

Microsoft.TeamFoundation Namespace