SocketAddress.GetMaximumAddressSize(AddressFamily) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定 AddressFamily所需的緩衝區大小上限。
public:
static int GetMaximumAddressSize(System::Net::Sockets::AddressFamily addressFamily);
public static int GetMaximumAddressSize (System.Net.Sockets.AddressFamily addressFamily);
static member GetMaximumAddressSize : System.Net.Sockets.AddressFamily -> int
Public Shared Function GetMaximumAddressSize (addressFamily As AddressFamily) As Integer
參數
- addressFamily
- AddressFamily
要使用的尋址配置。
傳回
緩衝區大小上限。