PeerApplicationRegistrationType 列舉

定義

指定要為 PeerApplicationPeerObject 註冊所執行的註冊類型。Specifies the type of registration to perform for a PeerApplication or PeerObject registration.

public enum class PeerApplicationRegistrationType
public enum PeerApplicationRegistrationType
type PeerApplicationRegistrationType = 
Public Enum PeerApplicationRegistrationType
繼承
PeerApplicationRegistrationType

欄位

AllUsers 1

正在為應用程式主機的所有對等註冊 PeerApplicationPeerObjectThe PeerApplication or PeerObject is being registered for all peers of the application host.

CurrentUser 0

只為與呼叫對等建立關聯的使用者註冊應用程式或物件。The application or object is being registered only for the user associated with the calling peer.

備註

註冊可 PeerApplication 讓它接收 PeerCollaboration 邀請要求。Registering an PeerApplication enables it to receive PeerCollaboration invitation requests. 執行註冊的服務或應用程式必須擁有執行此動作的許可權,因為它需要存取 ContactManager 和其他資源,例如遠端電腦上的使用者、應用程式和服務。The service or application performing the registration must have permission to do so, as it requires access to the ContactManager and other resources like users, applications, and services on the remote machine.

適用於

另請參閱