Partager via


Constructeur ConflictingPropertyValuesException (String, String, String, String, String)

Initializes a new instance of the ConflictingPropertyValuesException class that has the specified message text and inner exception.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    mode As String, _
    type1 As String, _
    name1 As String, _
    type2 As String, _
    name2 As String _
)
'Utilisation
Dim mode As String 
Dim type1 As String 
Dim name1 As String 
Dim type2 As String 
Dim name2 As String 

Dim instance As New ConflictingPropertyValuesException(mode, type1, _
    name1, type2, name2)
public ConflictingPropertyValuesException(
    string mode,
    string type1,
    string name1,
    string type2,
    string name2
)
public:
ConflictingPropertyValuesException(
    String^ mode, 
    String^ type1, 
    String^ name1, 
    String^ type2, 
    String^ name2
)
new : 
        mode:string * 
        type1:string * 
        name1:string * 
        type2:string * 
        name2:string -> ConflictingPropertyValuesException
public function ConflictingPropertyValuesException(
    mode : String, 
    type1 : String, 
    name1 : String, 
    type2 : String, 
    name2 : String
)

Paramètres

  • mode
    Type : System.String
    A String value that specifies the mode that is associated with the policy.
  • type1
    Type : System.String
    A String value that specifies the object type of the first property value.
  • name1
    Type : System.String
    A String value that specifies the name of the first property value.
  • type2
    Type : System.String
    A String value that specifies the object type of the second property value.
  • name2
    Type : System.String
    A String value that specifies the name of the second property value.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

ConflictingPropertyValuesException Classe

Surcharge ConflictingPropertyValuesException

Espace de noms Microsoft.SqlServer.Management.Dmf