Ejemplo n.º 1
0
 /// <remarks/>
 public void UpdatePermissionAsync(SystemPermission objPermission, object userState) {
     if ((this.UpdatePermissionOperationCompleted == null)) {
         this.UpdatePermissionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdatePermissionOperationCompleted);
     }
     this.InvokeAsync("UpdatePermission", new object[] {
                 objPermission}, this.UpdatePermissionOperationCompleted, userState);
 }
Ejemplo n.º 2
0
 public bool UpdatePermission(SystemPermission objPermission) {
     object[] results = this.Invoke("UpdatePermission", new object[] {
                 objPermission});
     return ((bool)(results[0]));
 }
Ejemplo n.º 3
0
 /// <remarks/>
 public void UpdatePermissionAsync(SystemPermission objPermission) {
     this.UpdatePermissionAsync(objPermission, null);
 }
Ejemplo n.º 4
0
 /// <remarks/>
 public void AddPermissionAsync(SystemPermission objPermission) {
     this.AddPermissionAsync(objPermission, null);
 }