ObjectAlreadyExistsException 클래스

The ObjectAlreadyExistsException class is an exception that is raised when an attempt to create an object that already exists is made.

상속 계층

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Dmf.DmfException
        Microsoft.SqlServer.Management.Dmf.ObjectAlreadyExistsException

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class ObjectAlreadyExistsException _
    Inherits DmfException
‘사용 방법
Dim instance As ObjectAlreadyExistsException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class ObjectAlreadyExistsException : DmfException
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ObjectAlreadyExistsException sealed : public DmfException
[<SealedAttribute>]
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ObjectAlreadyExistsException =  
    class 
        inherit DmfException 
    end
public final class ObjectAlreadyExistsException extends DmfException

ObjectAlreadyExistsException 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 ObjectAlreadyExistsException() Initializes a new instance of the ObjectAlreadyExistsException class.
공용 메서드 ObjectAlreadyExistsException(String) Initializes a new instance of the ObjectAlreadyExistsException class that has the specified message text.
공용 메서드 ObjectAlreadyExistsException(String, Exception) Initializes a new instance of the ObjectAlreadyExistsException class that has the specified message text and inner exception.
공용 메서드 ObjectAlreadyExistsException(String, String) Initializes a new instance of the ObjectAlreadyExistsException class with the specified type name and facet.

맨 위로 이동

속성

  이름 설명
공용 속성 Data (Exception에서 상속됨)
공용 속성 DmfExceptionType Gets a DmfExceptionType object that describest the type of the exception. (DmfException.DmfExceptionType을(를) 재정의함)
공용 속성 HelpLink Gets the help link for the exception. (DmfException에서 상속됨)
공용 속성 HResult (Exception에서 상속됨)
공용 속성 InnerException (Exception에서 상속됨)
공용 속성 Message Gets the system-generated message associated with the exception. (Exception.Message을(를) 재정의함)
공용 속성 ObjectName Gets the name of the object that already exists.
공용 속성 ObjectType Gets the type of object that already exists.
공용 속성 Source (Exception에서 상속됨)
공용 속성 StackTrace (Exception에서 상속됨)
공용 속성 TargetSite (Exception에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetBaseException (Exception에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetObjectData Sets information required for serialization of the object. (Exception.GetObjectData(SerializationInfo, StreamingContext)을(를) 재정의함)
공용 메서드 GetType (Exception에서 상속됨)
보호된 메서드 SetHelpContext Sets the help context for the exception. (DmfException에서 상속됨)
공용 메서드 ToString (Exception에서 상속됨)

맨 위로 이동

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

SMO 예외 처리

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Dmf 네임스페이스