/// <inheritdoc /> public void OnReceiveAssociationReject( DicomRejectResult result, DicomRejectSource source, DicomRejectReason reason) { SetHasAssociationFlag(false); _client.AssociationRejected(_client, new AssociationRejectedEventArgs(result, source, reason)); SetCompletionFlag(new DicomAssociationRejectedException(result, source, reason)); }
/// <inheritdoc /> public void OnReceiveAssociationReject( DicomRejectResult result, DicomRejectSource source, DicomRejectReason reason) { SetAssociationRequestedFlag(false); _client.AssociationRejected(_client, new AssociationRejectedEventArgs(result, source, reason)); SetCompletionFlag(new DicomAssociationRejectedException(result, source, reason)); // tell awaiters association was released unsuccessfully. this.SetAssociationReleasedFlag(false); }