System.Net.PeerToPeer.Collaboration 命名空間
增強 System.Net.PeerToPeer 網路功能,並提供無伺服器受控共同作業工作階段的功能。 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 |
代表 PeerNearMe 的位置,或是 PeerContact 執行個體,此執行個體是透過描述對等共同作業基礎結構中 PeerContact 或 PeerNearMe 的目前執行個體,以指定唯一的網路位址組態。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 類別的新執行個體,該執行個體將具有自動產生的 Guid。Represents 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 |
當 PresenceChanged 或 LocalPresenceChanged 事件發生時,提供限定資訊給回呼方法。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 |
指定要為 PeerApplication 或 PeerObject 註冊所執行的註冊類型。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.
原生對等共同作業 Api 可在32位和64位版本的 Windows Vista 用戶端上使用。Native Peer Collaboration APIs are available on Windows Vista clients in both 32-bit and 64-bit editions. Windows Server 2008 上不提供對等共同作業 Api。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.