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 전파 됩니다는 AppDomain 에서 LogicalCallContext. 이 인터페이스를 지원 하지 않는 개체에 전송 되지 않은 LogicalCallContext 원격 메서드 호출을 사용 하 여 인스턴스.

참고

이 클래스에는 링크 요청을 만듭니다. SecurityException 직접 실행 호출자에 인프라 권한이 없는 경우 throw 됩니다. 참조 링크 요구가 자세한 내용은 합니다.

속성

HasInfo

현재 LogicalCallContext에 정보가 들어 있는지 나타내는 값을 가져옵니다.

메서드

Clone()

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

Equals(Object)

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

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

지정한 이름을 가진 데이터 슬롯을 비웁니다.

GetData(String)

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

GetHashCode()

기본 해시 함수로 작동합니다.

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

현재 SerializationInfo를 serialize하는 데 필요한 데이터를 사용하여 지정된 LogicalCallContext를 채웁니다.

GetType()

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

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

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

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

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

ToString()

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

(다음에서 상속됨 Object)

적용 대상