次の方法で共有


StreamSocketListener.Information プロパティ

定義

StreamSocketListener オブジェクトのソケット情報を取得します。

public:
 property StreamSocketListenerInformation ^ Information { StreamSocketListenerInformation ^ get(); };
StreamSocketListenerInformation Information();
public StreamSocketListenerInformation Information { get; }
var streamSocketListenerInformation = streamSocketListener.information;
Public ReadOnly Property Information As StreamSocketListenerInformation

プロパティ値

StreamSocketListener オブジェクトのソケット情報。

Windows の要件

アプリの機能
ID_CAP_NETWORKING [Windows Phone]

注釈

Information プロパティは、StreamSocketListener オブジェクトに関連付けられた StreamSocketListenerInformation インスタンスを取得します。 その後、 Information インスタンスを使用して 、StreamSocketListener によって使用される情報を取得できます。 サポートされている情報データは、StreamSocketListener オブジェクトにバインドされているローカル TCP ポート番号を表す LocalPort プロパティのみです。

適用対象

こちらもご覧ください