示例#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;
     }
 }
示例#2
0
 internal BuddyServiceException(BuddyServiceClient.BuddyError err)
 {
     Error = err.ToString();
 }