RemotingSurrogateSelector 클래스

정의

MarshalByRefObject에서 파생되는 개체를 serialize하는 데 사용할 수 있는 원격 서로게이트를 선택합니다.

public ref class RemotingSurrogateSelector : System::Runtime::Serialization::ISurrogateSelector
public class RemotingSurrogateSelector : System.Runtime.Serialization.ISurrogateSelector
[System.Runtime.InteropServices.ComVisible(true)]
public class RemotingSurrogateSelector : System.Runtime.Serialization.ISurrogateSelector
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class RemotingSurrogateSelector : System.Runtime.Serialization.ISurrogateSelector
type RemotingSurrogateSelector = class
    interface ISurrogateSelector
[<System.Runtime.InteropServices.ComVisible(true)>]
type RemotingSurrogateSelector = class
    interface ISurrogateSelector
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type RemotingSurrogateSelector = class
    interface ISurrogateSelector
Public Class RemotingSurrogateSelector
Implements ISurrogateSelector
상속
RemotingSurrogateSelector
특성
구현

설명

서로게이트는 개체의 serialization 요구 사항을 처리할 수 있는 개체입니다. 원격 서로게이트 처리에서 파생 된 개체의 serialization 요구 사항을 원격 MarshalByRefObject합니다. 합니다 RemotingSurrogateSelector 사용에 대 한 등록 된 서로게이트를 관리 합니다 BinaryFormatterSoapFormatter합니다.

원격 작업을 위해 직렬화 하는 동안를 MarshalByRefObject, 원격 서로게이트 만듭니다는 ObjRef 활성화 하 고 원격 개체와 통신 하는 데 필요한 모든 관련 정보를 포함 하는 합니다. 새로 만든 ObjRef 다음 보내고 받을 수는 원격 위치에 프록시를 만드는 데 사용 합니다.

참고

이 클래스는 클래스 수준에서 상속 요청과 링크 요청을 만듭니다. SecurityException 직접 실행 호출자 또는 파생된 클래스 중 하나에 인프라 권한이 없는 경우 throw 됩니다. 보안 요청에 대 한 자세한 내용은 참조 하세요 링크 요청 하 고 상속 요청합니다.

생성자

RemotingSurrogateSelector()

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

속성

Filter

MessageSurrogateFilter의 현재 인스턴스에 대한 RemotingSurrogateSelector 대리자를 가져오거나 설정합니다.

메서드

ChainSelector(ISurrogateSelector)

서로게이트 선택기 체인에 지정된 ISurrogateSelector를 추가합니다.

Equals(Object)

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

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

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

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

서로게이트 선택기의 체인에서 다음 ISurrogateSelector를 반환합니다.

GetRootObject()

개체 그래프의 루트에 있는 개체를 반환합니다.

GetSurrogate(Type, StreamingContext, ISurrogateSelector)

제공된 컨텍스트에서 제공된 형식에 맞는 서로게이트를 반환합니다.

GetType()

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

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

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

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

개체 그래프의 루트에 있는 개체를 설정합니다.

ToString()

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

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

현재 서로게이트 선택기가 SOAP 형식을 사용하도록 설정합니다.

적용 대상

추가 정보