예제 #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);
         }
     }
 }
예제 #2
0
 public void HandleConnectionCompletion(ConnectionCompleteParams connParams)
 {
     OnConnectionComplete(this, connParams);
 }