Udostępnij przez


Konstruktor ObjectAlreadyExistsException (String, String)

Inicjuje nowe wystąpienie ObjectAlreadyExistsException klasy z nazwą określonego typu i aspekt.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
Public Sub New ( _
    objectType As String, _
    objectName As String _
)
'Użycie
Dim objectType As String
Dim objectName As String

Dim instance As New ObjectAlreadyExistsException(objectType, _
    objectName)
public ObjectAlreadyExistsException(
    string objectType,
    string objectName
)
public:
ObjectAlreadyExistsException(
    String^ objectType, 
    String^ objectName
)
new : 
        objectType:string * 
        objectName:string -> ObjectAlreadyExistsException
public function ObjectAlreadyExistsException(
    objectType : String, 
    objectName : String
)

Parametry

  • objectType
    Typ: System.String
    A String wartość, która określa typ obiektu, który już istnieje.
  • objectName
    Typ: System.String
    A String wartość, która określa nazwę obiektu, który już istnieje.

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.