更新:2007 年 11 月
取得基礎傳輸機制所限制的封包大小最大值。
命名空間: Microsoft.SmartDevice.DeviceAgentTransport
組件: Microsoft.SmartDevice.DeviceAgentTransport (在 Microsoft.SmartDevice.DeviceAgentTransport.dll 中)
語法
ReadOnly Property MaxPacketSize As Integer
Dim instance As IDevicePacketStream
Dim value As Integer
value = instance.MaxPacketSize
int MaxPacketSize { get; }
property int MaxPacketSize {
int get ();
}
function get MaxPacketSize () : int
屬性值
型別:System.Int32
這個方法會傳回代表封包大小限制的位元組數。
使用權限
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。