예제 #1
0
 private void HandleConnectionComplete(object sender, ConnectionCompleteParams connParams)
 {
     if (connParams.OwnerUri.Equals(_tempFileUri.ToString()))
     {
         if (connParams.ErrorMessage != null)
         {
             _connectionCompleted.SetException(new Exception(connParams.ErrorMessage));
         }
         else
         {
             _connectionCompleted.SetResult(connParams);
         }
     }
 }
 public void HandleConnectionCompletion(ConnectionCompleteParams connParams)
 {
     OnConnectionComplete(this, connParams);
 }