ReceiveContextEnabledAttribute.ManualControl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets value that indicates whether the receive acknowledgement for this operation is explicitly signaled by service method.
public:
property bool ManualControl { bool get(); void set(bool value); };
public bool ManualControl { get; set; }
member this.ManualControl : bool with get, set
Public Property ManualControl As Boolean
Property Value
true
if the receive acknowledgement for this operation is explicitly signaled; otherwise, false
.
Remarks
When the ManualControl property is set to true
, the message received from the channel is delivered to the service operation with a lock for the message in the form of "ReceiveContext message property". It is the responsibility of the service implementation to either to call Complete or Abandon to signal the receive completion of the message. Failure to call either of these result in the lock being held on the message until the lock timeout interval elapses. Once the lock is released (either through calling Abandon or lock timeout) the message is re-dispatched from the channel to the service. Calling Complete marks the message as successfully received.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기