Example #1
0
 internal BuddyCallbackParams(BuddyServiceClient.BuddyError buddyError)
 {
     if (buddyError != BuddyServiceClient.BuddyError.None)
     {
         Exception = new BuddyServiceException(buddyError.ToString());
         Completed = buddyError != BuddyServiceClient.BuddyError.UnknownServiceError;
     }
     else
     {
         Completed = true;
     }
 }
Example #2
0
 internal BuddyServiceException(BuddyServiceClient.BuddyError err)
 {
     Error = err.ToString();
 }