Пример #1
0
 private void ExecuteUserCode(IAsyncResult result)
 {
     using (ServiceModelActivity activity = ServiceModelActivity.CreateBoundedActivity())
     {
         ServiceModelActivity.Start(activity, SR.ActivityCallback, ActivityType.ExecuteUserCode);
         this._callback(result);
     }
 }
Пример #2
0
 internal static ServiceModelActivity CreateBoundedActivity()
 {
     return(ServiceModelActivity.CreateBoundedActivity(false));
 }