Επεξεργασία

Κοινή χρήση μέσω


PeerApplication.Data Property

Definition

Gets or sets data associated with the current PeerApplication instance.

public:
 property cli::array <System::Byte> ^ Data { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public byte[] Data { get; set; }
member this.Data : byte[] with get, set
Public Property Data As Byte()

Property Value

Byte[]

Array of Byte data that contain a binary object to associate with the peer application. This is commonly a small image or XML blob.

Exceptions

The size of this binary data object is either less than 0 or greater than 4,096 bytes.

The PeerApplication object has been disposed.

Remarks

This data is free form and is provided by the hosting peer. The maximum amount of data that can be provided is 4,096 bytes. This data is not part of a PeerApplication invitation, but rather allows additional data to be associated with the application on the local peer.

Applies to

See also