Initializes a new instance of the TeamFoundationServerUnauthorizedException with the specified message and inner exception.
Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public TeamFoundationServerUnauthorizedException(
    string message,
    Exception innerException
)
public:
TeamFoundationServerUnauthorizedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> TeamFoundationServerUnauthorizedException
public function TeamFoundationServerUnauthorizedException(
    message : String, 
    innerException : Exception
)
Parameters
- message 
 Type: System.String- A human readable message that states the error. 
- 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
TeamFoundationServerUnauthorizedException Class