PeerObject 생성자

정의

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

오버로드

PeerObject()

PeerObject 클래스의 새로운 기본 인스턴스를 초기화합니다.

PeerObject(SerializationInfo, StreamingContext)

serialization에 필요한 관련 매개 변수를 사용하여 새 PeerObject 인스턴스를 초기화합니다.

PeerObject(Guid, Byte[], PeerScope)

관련 범위 및 데이터를 사용하여 새 PeerObject 인스턴스를 초기화합니다.

설명

후 합니다 PeerObject 인스턴스를 생성 합니다 SetObject 피어 협업 인프라를 사용 하 여 개체를 게시 하려면 메서드를 호출 해야 합니다.

PeerObject()

PeerObject 클래스의 새로운 기본 인스턴스를 초기화합니다.

public:
 PeerObject();
public PeerObject ();
Public Sub New ()

설명

후는 PeerObject 인스턴스를 생성 합니다 SetObject 게시할 메서드를 호출 해야 합니다 PeerObject 피어 협업 인프라를 사용 하 여 합니다.

추가 정보

적용 대상

PeerObject(SerializationInfo, StreamingContext)

serialization에 필요한 관련 매개 변수를 사용하여 새 PeerObject 인스턴스를 초기화합니다.

protected:
 PeerObject(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected PeerObject (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Net.PeerToPeer.Collaboration.PeerObject : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.PeerToPeer.Collaboration.PeerObject
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

매개 변수

serializationInfo
SerializationInfo

SerializationInfo와 연결된 PeerObject입니다.

streamingContext
StreamingContext

PeerObject와 연결된 serialization 대상입니다.

추가 정보

적용 대상

PeerObject(Guid, Byte[], PeerScope)

관련 범위 및 데이터를 사용하여 새 PeerObject 인스턴스를 초기화합니다.

public:
 PeerObject(Guid Id, cli::array <System::Byte> ^ data, System::Net::PeerToPeer::Collaboration::PeerScope peerScope);
public PeerObject (Guid Id, byte[] data, System.Net.PeerToPeer.Collaboration.PeerScope peerScope);
new System.Net.PeerToPeer.Collaboration.PeerObject : Guid * byte[] * System.Net.PeerToPeer.Collaboration.PeerScope -> System.Net.PeerToPeer.Collaboration.PeerObject
Public Sub New (Id As Guid, data As Byte(), peerScope As PeerScope)

매개 변수

Id
Guid

PeerObject의 사용자 정의 식별자입니다.

data
Byte[]

PeerObject에 대한 정보를 포함하는 데이터 blob입니다. 이 매개 변수는 크기가 16K 이하로 제한됩니다.

peerScope
PeerScope

PeerObject를 등록할 범위를 지정합니다.

예외

이 메서드에 제공된 인수 중 하나가 잘못된 경우

설명

Id 이 생성자에 사용 되는 매개 변수 값은 자동으로 생성 합니다. 후는 PeerObject 인스턴스를 생성 합니다 SetObject 게시할 메서드를 호출 해야 합니다 PeerObject 피어 협업 인프라를 사용 하 여 합니다.

추가 정보

적용 대상