コード例 #1
0
 //[PrincipalPermission(SecurityAction.Demand, Authenticated = true)]
 public OperationStartInformation DoSomethingAsync(SomeParameters parmaters)
 {
     var operation = new DoSomethingOperation(_operationsManager, parmaters);
     var operationStart = operation.RunAsync();
     return new OperationStartInformation
     {
         OperationId = operationStart.OperationId,
         IsReportingProgress = false,
         IsSupportingCancel = false,
     };
 }
コード例 #2
0
 public OperationStartInformation DoSomethingAsync(SomeParameters parmaters)
 {
     return _target.DoSomethingAsync(parmaters);
 }
コード例 #3
0
 // [PrincipalPermission(SecurityAction.Demand, Authenticated = true)]
 public OperationResult DoSomething(SomeParameters parmaters)
 {
     var operation = new DoSomethingOperation(_operationsManager, parmaters);
     return operation.RunSync();
 }
コード例 #4
0
 public OperationResult DoSomething(SomeParameters parmaters)
 {
     return _target.DoSomething(parmaters);
 }