Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

38 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="BindIPEndPoint" FullName="System.Net.BindIPEndPoint">
<TypeSignature Language="C#" Value="public delegate System.Net.IPEndPoint BindIPEndPoint(ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed BindIPEndPoint extends System.MulticastDelegate" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="servicePoint" Type="System.Net.ServicePoint" />
<Parameter Name="remoteEndPoint" Type="System.Net.IPEndPoint" />
<Parameter Name="retryCount" Type="System.Int32" />
</Parameters>
<ReturnValue>
<ReturnType>System.Net.IPEndPoint</ReturnType>
</ReturnValue>
<Docs>
<param name="servicePoint">To be added.</param>
<param name="remoteEndPoint">To be added.</param>
<param name="retryCount">To be added.</param>
<returns>To be added.</returns>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specify that the <see cref="T:System.Net.BindIPEndPoint" /> delegate is used by a <see cref="T:System.Net.ServicePoint" /> by setting the <see cref="P:System.Net.ServicePoint.BindIPEndPointDelegate" /> property with the delegate as an argument. This delegate should specify a local IP address and port number in the returned <see cref="T:System.Net.IPEndPoint" />.</para>
<para>If the .NET Framework cannot bind the returned <see cref="T:System.Net.IPEndPoint" /> to the <see cref="T:System.Net.ServicePoint" /> after <see cref="F:System.Int32.MaxValue" /> attempts, an <see cref="T:System.OverflowException" /> is thrown. </para>
<para>If you want the delegate to give the service point control of the connection binding, the delegate should return null. If you want to abort the connection, the delegate must throw an exception.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents the method that specifies a local Internet Protocol address and port number for a <see cref="T:System.Net.ServicePoint" />.</para>
</summary>
</Docs>
</Type>