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
'Declaração
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
- nameOrUrl
Type: System.String
The name or URL of the server.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TeamFoundationServiceUnavailableException Class