Поделиться через


GenericException Constructor (String, Exception)

Encapsulates a message string and exception object into a GenericException.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public GenericException(
    string message,
    Exception ex
)
public:
GenericException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> GenericException
public function GenericException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: System.String
    A message that describes the exception.

.NET Framework Security

See Also

Reference

GenericException Class

GenericException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace