Initializes a new instance of the UnexpectedTfsException class.
Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
声明
Public Sub New ( _
    tfsName As String, _
    innerException As Exception _
)
public UnexpectedTfsException(
    string tfsName,
    Exception innerException
)
public:
UnexpectedTfsException(
    String^ tfsName, 
    Exception^ innerException
)
new : 
        tfsName:string * 
        innerException:Exception -> UnexpectedTfsException
public function UnexpectedTfsException(
    tfsName : String, 
    innerException : Exception
)
Parameters
- tfsName
 Type: System.String
 The name of the computer running Team Foundation Server.
- 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
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace