BindIPEndPoint デリゲート
アセンブリ: System (system.dll 内)

Public Delegate Function BindIPEndPoint ( _ servicePoint As ServicePoint, _ remoteEndPoint As IPEndPoint, _ retryCount As Integer _ ) As IPEndPoint
public delegate IPEndPoint BindIPEndPoint ( ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount )
public delegate IPEndPoint^ BindIPEndPoint ( ServicePoint^ servicePoint, IPEndPoint^ remoteEndPoint, int retryCount )
/** @delegate */ public delegate IPEndPoint BindIPEndPoint ( ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount )
戻り値
ServicePoint のバインド先のローカル IPEndPoint。

デリゲートを引数として指定して ServicePoint.BindIPEndPointDelegate プロパティを設定し、ServicePoint によって BindIPEndPoint デリゲートが使用されることを指定します。このデリゲートで、返される IPEndPoint のローカル IP アドレスとポート番号を指定する必要があります。
MaxValue の試行後、.NET Framework が返された IPEndPoint を ServicePoint にバインドできない場合は、OverflowException がスローされます。
デリゲートで接続バインディングのサービス ポイントを制御する場合、デリゲートは null 参照 (Visual Basic では Nothing) を返す必要があります。接続を中止する場合には、デリゲートは例外をスローする必要があります。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- BindIPEndPoint デリゲートのページへのリンク