Share via


AutoMergeDisallowedException Constructor (String, Exception)

Initializes a new instance of the AutoMergeDisallowedException class.

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 AutoMergeDisallowedException(
    string message,
    Exception ex
)
public:
AutoMergeDisallowedException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> AutoMergeDisallowedException
public function AutoMergeDisallowedException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: System.String

    The error message that explains the reason for this exception.

  • ex
    Type: System.Exception

    The exception that caused the exception to be thrown.

.NET Framework Security

See Also

Reference

AutoMergeDisallowedException Class

AutoMergeDisallowedException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace