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