PeerScope PeerScope PeerScope PeerScope Enum

定义

指定对等方的当前网络范围。Specifies the current network scope of a peer.

public enum class PeerScope
public enum PeerScope
type PeerScope = 
Public Enum PeerScope
继承

字段

All All All All 3

指定登录“网络邻居”范围和“Internet”范围。Specifies sign-in to the 'NearMe' scope and 'Internet' scope.

Internet Internet Internet Internet 2

指定登录“Internet”范围。Specifies sign-in to the 'Internet' scope. 此范围有利于与联系人管理器中的所有联系人建立连接。This scope facilitates connections with all contacts in the Contact Manager.

NearMe NearMe NearMe NearMe 1

指定登录“网络邻居”范围。Specifies sign-in to the 'NearMe' scope. 此范围有利于通过对等方协作方法连接至同一子网中的所有对等方。This scope facilitates connections to all peers on the same subnet via Peer Collaboration Methods.

None None None None 0

指定对等方不登录对等方协作范围。Specifies that a peer not sign-in to a Peer Collaboration scope. 如果将此值传递给 SignIn(PeerScope) 方法,将不会生成任何结果。Passing this value to the SignIn(PeerScope) method generates no result.

适用于

另请参阅