PeerApplicationRegistrationType PeerApplicationRegistrationType PeerApplicationRegistrationType PeerApplicationRegistrationType Enum

定義

指定要為 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
繼承
PeerApplicationRegistrationTypePeerApplicationRegistrationTypePeerApplicationRegistrationTypePeerApplicationRegistrationType

欄位

AllUsers AllUsers AllUsers AllUsers 1

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

CurrentUser CurrentUser CurrentUser CurrentUser 0

只為呼叫的對等電腦所關聯之使用者註冊應用程式或物件The application or object is being registered only for the user associated with the calling peer

備註

PeerCollaboration註冊可PeerApplication讓它接收邀請要求。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.

適用於

另請參閱