ApplicationIdentity 클래스

정의

매니페스트 활성화 애플리케이션을 고유하게 식별하는 기능을 제공합니다. 이 클래스는 상속할 수 없습니다.

public ref class ApplicationIdentity sealed : System::Runtime::Serialization::ISerializable
public sealed class ApplicationIdentity : System.Runtime.Serialization.ISerializable
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public sealed class ApplicationIdentity : System.Runtime.Serialization.ISerializable
type ApplicationIdentity = class
    interface ISerializable
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type ApplicationIdentity = class
    interface ISerializable
Public NotInheritable Class ApplicationIdentity
Implements ISerializable
상속
ApplicationIdentity
특성
구현

예제

다음 코드 예제에서는 개체를 ActivationContext 사용하여 매니페스트 기반 애플리케이션을 ApplicationIdentity 가져오는 방법을 보여 줍니다. 이 코드 예제는 클래스에 제공된 더 큰 예제의 ActivationContext 일부입니다.

ActivationContext ac = AppDomain.CurrentDomain.ActivationContext;
ApplicationIdentity ai = ac.Identity;
Dim ac As ActivationContext = AppDomain.CurrentDomain.ActivationContext
Dim ai As ApplicationIdentity = ac.Identity

설명

ApplicationIdentity 클래스는 매니페스트 기반 애플리케이션의 활성화에 사용됩니다.

생성자

Name Description
ApplicationIdentity(String)

ApplicationIdentity 클래스의 새 인스턴스를 초기화합니다.

속성

Name Description
CodeBase

배포 매니페스트의 위치를 URL로 가져옵니다.

FullName

애플리케이션의 전체 이름을 가져옵니다.

메서드

Name Description
Equals(Object)

지정된 개체가 현재 개체와 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

매니페스트 활성화 애플리케이션의 전체 이름을 반환합니다.

명시적 인터페이스 구현

Name Description
ISerializable.GetObjectData(SerializationInfo, StreamingContext)

대상 개체를 SerializationInfo serialize하는 데 필요한 데이터로 개체를 채웁니다.

적용 대상