System.Net.PeerToPeer.Collaboration 命名空间

System.Net.PeerToPeer.Collaboration 命名空间不仅增强了 System.Net.PeerToPeer 网络功能,还提供了无服务器托管的协作会话功能。 The System.Net.PeerToPeer.Collaboration namespace enhances System.Net.PeerToPeer networking functionality and provides capabilities for serverless managed collaboration sessions.

ApplicationChangedEventArgs

在发生 ApplicationChanged 事件时向回调方法提供限定信息。Provides qualifying information to a callback method when a ApplicationChanged event occurs.

ContactManager

表示持久保存在 Windows 通讯簿中的 PeerContact 对象的集合。Represents a collection of PeerContact objects which persist in a Windows Address Book.

CreateContactCompletedEventArgs

在发生 CreateContactCompleted 事件时向回调方法提供限定信息。Provides qualifying information to a callback method when a CreateContactCompleted event occurs.

InviteCompletedEventArgs

在发生 InviteCompleted 事件时向回调方法提供限定信息。Provides qualifying information to a callback method when an InviteCompleted event occurs.

NameChangedEventArgs

在发生 NameChanged 事件时向回调方法提供限定信息。Provides qualifying information to a callback method when a NameChanged event occurs.

ObjectChangedEventArgs

在发生 ObjectChanged 事件时向回调方法提供限定信息。Provides qualifying information to a callback method when a ObjectChanged event occurs.

Peer

此类表示远程对等方。This class represents a remote peer.

PeerApplication

表示可在对等方协作基础结构中使用的应用程序。Represents an application that is available for use with the Peer Collaboration infrastructure.

PeerApplicationCollection

表示 PeerApplication 元素的容器。Represents a container for PeerApplication elements. 此类型的实例由 GetContacts() 静态方法返回。An instance of this type is returned by the GetContacts() static method.

PeerApplicationLaunchInfo

表示为响应对等方协作邀请而启动的 PeerApplication 所需的启动信息。Represents the launch information required by a PeerApplication that has initiated in response to a peer collaboration invitation.

PeerCollaboration

与对等方协作基础结构进行交互。Interacts with the Peer Collaboration infrastructure. 很多核心协作方案都是从此类着手的。Many of the core collaboration scenarios begin with this class.

PeerCollaborationPermission

指定用于定义 System.Net.PeerToPeer.Collaboration 对象权限或在这些权限中使用的值。Specifies the values that define or are used in System.Net.PeerToPeer.Collaboration object permissions.

PeerCollaborationPermissionAttribute

允许对要使用声明性安全应用到代码中的 PeerCollaborationPermission 执行安全操作。Allows security actions for PeerCollaborationPermission to be applied to code using declarative security. 无法继承此类。This class cannot be inherited.

PeerContact

表示用户已检索其扩展信息的对等方。Represents a peer for which a user has retrieved extended information.

PeerContactCollection

表示 PeerContact 元素的容器。Represents a container for PeerContact elements. 此类型的实例由 GetContacts() 静态方法返回。An instance of this type is returned by the GetContacts() static method.

PeerEndPoint

表示 PeerNearMePeerContact 实例的位置,该位置由唯一网络地址配置通过描述对等协作基础结构中的 PeerContactPeerNearMe 的当前实例进行指定。Represents the location of a PeerNearMe, or PeerContact instance specified with a unique network address configuration by describing the current instance of a PeerContact or PeerNearMe within the Peer-to-Peer Collaboration Infrastructure.

PeerEndPointCollection

表示 PeerEndPoint 对象的元素的容器。Represents a container for elements of a PeerEndPoint object. 此类型的实例由 Peer 类返回。An instance of this type is returned by the Peer class.

PeerInvitationResponse

表示接收的远程对等方对通过 Invite()Invite() 方法所发送的邀请的响应。Represents a response received from a remote peer to an invitation sent via the Invite() or Invite() method.

PeerNearMe

表示通过“网络邻居”基础结构找到的对等方。Represents a peer located by the "People Near Me" infrastructure.

PeerNearMeChangedEventArgs

在发生 PeerNearMeChanged 事件时向回调方法提供限定信息。Provides qualifying information to a callback method when a PeerNearMeChanged event occurs.

PeerNearMeCollection

表示 PeerNearMe 对象的元素的容器。Represents a container for elements of a PeerNearMe object. 此类型的实例由 GetPeersNearMe() 静态方法返回。An instance of this type is returned by the GetPeersNearMe() static method.

PeerObject

表示 PeerObject 类的一个新实例,此实例具有自动生成的 GuidRepresents a new instance of the PeerObject class with an auto-generated Guid.

PeerObjectCollection

表示 PeerObject 实例的元素的容器。Represents a container for elements of a PeerObject instance.

PeerPresenceInfo

表示对等方的状态信息。Represents the presence information of a peer.

PresenceChangedEventArgs

在发生 PresenceChangedLocalPresenceChanged 事件时向回调方法提供限定信息。Provides qualifying information to a callback method when a PresenceChanged or LocalPresenceChanged event occurs.

RefreshDataCompletedEventArgs

在发生 OnRefreshDataCompleted(RefreshDataCompletedEventArgs) 事件时向 RefreshDataCompleted 方法提供限定信息。Provides qualifying information to the OnRefreshDataCompleted(RefreshDataCompletedEventArgs) method when RefreshDataCompleted events occur.

SubscribeCompletedEventArgs

在发出 SubscribeCompleted 事件信号时向回调方法提供限定信息。Provides qualifying information to a callback method when a SubscribeCompleted event is signaled.

SubscriptionListChangedEventArgs

在发出 SubscriptionListChanged 事件信号时向回调方法提供限定信息。Provides qualifying information to a callback method when a SubscriptionListChanged event is signaled.

枚举

PeerApplicationRegistrationType

指定要为 PeerApplicationPeerObject 注册执行的注册类型。Specifies the type of registration to perform for a PeerApplication or PeerObject registration.

PeerChangeType

指定对等方已发生的更改类型。Specifies the type of change that occurred for a peer.

PeerInvitationResponseType

指定本地对等方可以在应用程序驱动的协作邀请请求下收到的响应。Specifies the responses a local peer can receive from an application driven collaboration invitation requests.

PeerPresenceStatus

指定对等方的状态。Specifies the presence status of a peer.

PeerScope

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

SubscriptionType

指定订阅本地对等方的远程对等方是否可以收到事件通知。Specifies if a remote peer subscribed to the local peer can receive event notifications.

注解

对等 (P2P) 协作基础结构为协作活动,例如网络游戏比赛、 会议和其他交互的多个参与者活动提供了对等基于网络的框架。The Peer-to-Peer (P2P) Collaboration Infrastructure provides a peer-to-peer network-based framework for collaborative activities, such as network game matchmaking, conferencing, and other interactive multi-participant activities. 此无服务器基础结构包括的 Api 来简化应用程序可以跟踪不包含服务器的对等方状态、 向参与者发送邀请、 发现等的同一子网,并将其过程管理联系人。This serverless infrastructure includes APIs that simplify the process by which applications can track peer presence without a server, send invitations to participants, discover peers on the same subnet, and manage contacts.

在 32 位和 64 位版本的 Windows Vista 客户端上提供了对等方协作的本机 Api。Native Peer Collaboration APIs are available on Windows Vista clients in both 32-bit and 64-bit editions. 对等协作 Api 不可用 Windows Server 2008 上。Peer Collaboration APIs are not available on Windows Server 2008.

注意: 仅当该服务正在模拟调用方,且调用方是交互式用户 (而不是内置的用户),协作 Api 是服务中运行。NOTE: The Collaboration APIs are functional from a service only if the service is impersonating a caller, and the caller is an interactive user (as opposed to a built-in user). 不支持多个联系人管理器。Multiple Contact Managers are not supported.

另请参阅