UdpAnySourceMulticastClient.SendBufferSize プロパティ

定義

注意事項

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

この UdpAnySourceMulticastClient インスタンスのマルチキャストの送信操作に使用される Socket の送信バッファーのバイト単位のサイズを取得または設定します。

public:
 property int SendBufferSize { int get(); void set(int value); };
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public int SendBufferSize { get; set; }
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.SendBufferSize : int with get, set
Public Property SendBufferSize As Integer

プロパティ値

Int32

Int32 を返します。

送信バッファーのバイト単位のサイズ。

属性

例外

指定されたバッファー サイズは 0 より小さいです。

マルチキャスト グループにまだ参加していません。

UdpAnySourceMulticastClient は破棄されています。

注釈

プロパティは、このインスタンスでのマルチキャスト送信操作に使用される基になる Socket の送信バッファーのサイズ (バイト単位 SendBufferSize ) を取得または設定 UdpAnySourceMulticastClient します。

メソッドまたは メソッド BeginSendToGroup の呼び出しは、送信バッファーが満たされている場合、プロパティの値に応じてコールバックを呼び出すのに BeginSendTo SendBufferSize 時間がかかります。 プロパティは、送信が完了するまで、ユーザーのバッファーが物理 SendBufferSize メモリ内でロックされたままかどうかを制御します。

8,192 バイトのWindows送信バッファーの既定のサイズです。

適用対象