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 使其能够接收 @no__t 的邀请请求。Registering an PeerApplication enables it to receive PeerCollaboration invitation requests. 执行注册的服务或应用程序必须具有执行此操作的权限,因为它需要访问远程计算机上的 @no__t 0 和其他资源,如用户、应用程序和服务。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.

适用于

另请参阅