ClientKeySet.AddService(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
添加一个服务, (向) 有权访问的客户端颁发许可证。
public void AddService (int service);
member this.AddService : int -> unit
Public Sub AddService (service As Integer)
参数
- service
- Int32
要添加到许可证的服务。
例外
在构造此 ClientKeySet时,如果 大于或等于 NumberOfServices 中指定的 中MasterKeySet,则service
引发。