LogicalCallContext 클래스

정의

원격 메서드를 호출하는 동안 실행 코드 경로와 함께 전달되는 속성 집합을 제공합니다.

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

설명

클래스는 LogicalCallContext 원격 애플리케이션 도메인에 CallContext 대 한 메서드 호출 하는 동안 사용 되는 클래스의 버전입니다. 메서드 CallContext 호출을 위한 스레드 로컬 스토리지와 유사한 특수 컬렉션 개체이며 각 논리적 실행 스레드에 고유한 데이터 슬롯을 제공합니다. 슬롯은 다른 논리 스레드의 호출 컨텍스트에서 공유되지 않습니다. 실행 코드 경로를 아래로 이동하면서 개체를 추가하고 CallContext 경로를 따라 다양한 개체로 검사할 수 있습니다.

다른 AppDomain개체에 대한 원격 메서드 호출이 수행되면 클래스는 CallContext 원격 호출과 함께 이동하는 메서드를 생성합니다 LogicalCallContext . 인터페이스를 ILogicalThreadAffinative 노출하고 이 인터페이스에 CallContext 저장된 개체만 에 있는 외부 AppDomainLogicalCallContext로 전파됩니다. 이 인터페이스를 지원하지 않는 개체는 원격 메서드 호출이 있는 인스턴스에서 LogicalCallContext 전송되지 않습니다.

메모

이 클래스는 링크 요청을 만듭니다. 즉시 호출자에게 인프라 권한이 없는 경우 SecurityException이 throw됩니다.

속성

Name Description
HasInfo

현재 LogicalCallContext 정보에 정보가 포함되어 있는지 여부를 나타내는 값을 가져옵니다.

메서드

Name Description
Clone()

현재 인스턴스의 복사본인 새 개체를 만듭니다.

Equals(Object)

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

(다음에서 상속됨 Object)
FreeNamedDataSlot(String)

지정된 이름을 사용하여 데이터 슬롯을 비웁니다.

GetData(String)

현재 인스턴스에서 지정된 이름과 연결된 개체를 검색합니다.

GetHashCode()

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

(다음에서 상속됨 Object)
GetObjectData(SerializationInfo, StreamingContext)

현재LogicalCallContext를 serialize하는 데 필요한 데이터로 지정된 SerializationInfo 값을 채웁니다.

GetType()

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

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

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

(다음에서 상속됨 Object)
SetData(String, Object)

지정된 개체를 현재 인스턴스에 저장하고 지정된 이름과 연결합니다.

ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상