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邀请请求。 PeerApplicationRegistering 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.

适用于

另请参阅