-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ReceiveContextEnabledAttribute.xml
208 lines (206 loc) · 17.2 KB
/
ReceiveContextEnabledAttribute.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<Type Name="ReceiveContextEnabledAttribute" FullName="System.ServiceModel.ReceiveContextEnabledAttribute">
<TypeSignature Language="C#" Value="public sealed class ReceiveContextEnabledAttribute : Attribute, System.ServiceModel.Description.IOperationBehavior" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ReceiveContextEnabledAttribute extends System.Attribute implements class System.ServiceModel.Description.IOperationBehavior" />
<TypeSignature Language="DocId" Value="T:System.ServiceModel.ReceiveContextEnabledAttribute" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class ReceiveContextEnabledAttribute
Inherits Attribute
Implements IOperationBehavior" />
<TypeSignature Language="F#" Value="type ReceiveContextEnabledAttribute = class
 inherit Attribute
 interface IOperationBehavior" />
<TypeSignature Language="C++ CLI" Value="public ref class ReceiveContextEnabledAttribute sealed : Attribute, System::ServiceModel::Description::IOperationBehavior" />
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.ServiceModel.Description.IOperationBehavior</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.AttributeUsage(System.AttributeTargets.Method)]</AttributeName>
<AttributeName Language="F#">[<System.AttributeUsage(System.AttributeTargets.Method)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>This attribute can be applied to service operations to enable receive context behavior.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ReceiveContextEnabledAttribute ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.ReceiveContextEnabledAttribute.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 ReceiveContextEnabledAttribute();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="M:System.ServiceModel.ReceiveContextEnabledAttribute.#ctor" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddBindingParameters">
<MemberSignature Language="C#" Value="public void AddBindingParameters (System.ServiceModel.Description.OperationDescription operationDescription, System.ServiceModel.Channels.BindingParameterCollection bindingParameters);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddBindingParameters(class System.ServiceModel.Description.OperationDescription operationDescription, class System.ServiceModel.Channels.BindingParameterCollection bindingParameters) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.ReceiveContextEnabledAttribute.AddBindingParameters(System.ServiceModel.Description.OperationDescription,System.ServiceModel.Channels.BindingParameterCollection)" />
<MemberSignature Language="VB.NET" Value="Public Sub AddBindingParameters (operationDescription As OperationDescription, bindingParameters As BindingParameterCollection)" />
<MemberSignature Language="F#" Value="abstract member AddBindingParameters : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Channels.BindingParameterCollection -> unit
override this.AddBindingParameters : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Channels.BindingParameterCollection -> unit" Usage="receiveContextEnabledAttribute.AddBindingParameters (operationDescription, bindingParameters)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void AddBindingParameters(System::ServiceModel::Description::OperationDescription ^ operationDescription, System::ServiceModel::Channels::BindingParameterCollection ^ bindingParameters);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ServiceModel.Description.IOperationBehavior.AddBindingParameters(System.ServiceModel.Description.OperationDescription,System.ServiceModel.Channels.BindingParameterCollection)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operationDescription" Type="System.ServiceModel.Description.OperationDescription" />
<Parameter Name="bindingParameters" Type="System.ServiceModel.Channels.BindingParameterCollection" />
</Parameters>
<Docs>
<param name="operationDescription">The operation description.</param>
<param name="bindingParameters">The binding parameters.</param>
<summary>Configures the binding elements to support the receive context behavior.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ApplyClientBehavior">
<MemberSignature Language="C#" Value="public void ApplyClientBehavior (System.ServiceModel.Description.OperationDescription operationDescription, System.ServiceModel.Dispatcher.ClientOperation clientOperation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ApplyClientBehavior(class System.ServiceModel.Description.OperationDescription operationDescription, class System.ServiceModel.Dispatcher.ClientOperation clientOperation) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.ReceiveContextEnabledAttribute.ApplyClientBehavior(System.ServiceModel.Description.OperationDescription,System.ServiceModel.Dispatcher.ClientOperation)" />
<MemberSignature Language="VB.NET" Value="Public Sub ApplyClientBehavior (operationDescription As OperationDescription, clientOperation As ClientOperation)" />
<MemberSignature Language="F#" Value="abstract member ApplyClientBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.ClientOperation -> unit
override this.ApplyClientBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.ClientOperation -> unit" Usage="receiveContextEnabledAttribute.ApplyClientBehavior (operationDescription, clientOperation)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void ApplyClientBehavior(System::ServiceModel::Description::OperationDescription ^ operationDescription, System::ServiceModel::Dispatcher::ClientOperation ^ clientOperation);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ServiceModel.Description.IOperationBehavior.ApplyClientBehavior(System.ServiceModel.Description.OperationDescription,System.ServiceModel.Dispatcher.ClientOperation)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operationDescription" Type="System.ServiceModel.Description.OperationDescription" />
<Parameter Name="clientOperation" Type="System.ServiceModel.Dispatcher.ClientOperation" />
</Parameters>
<Docs>
<param name="operationDescription">The operation description.</param>
<param name="clientOperation">The client run-time object.</param>
<summary>Implements the <see cref="M:System.ServiceModel.Description.IOperationBehavior.ApplyClientBehavior(System.ServiceModel.Description.OperationDescription,System.ServiceModel.Dispatcher.ClientOperation)" /> method.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ApplyDispatchBehavior">
<MemberSignature Language="C#" Value="public void ApplyDispatchBehavior (System.ServiceModel.Description.OperationDescription operationDescription, System.ServiceModel.Dispatcher.DispatchOperation dispatchOperation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ApplyDispatchBehavior(class System.ServiceModel.Description.OperationDescription operationDescription, class System.ServiceModel.Dispatcher.DispatchOperation dispatchOperation) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.ReceiveContextEnabledAttribute.ApplyDispatchBehavior(System.ServiceModel.Description.OperationDescription,System.ServiceModel.Dispatcher.DispatchOperation)" />
<MemberSignature Language="VB.NET" Value="Public Sub ApplyDispatchBehavior (operationDescription As OperationDescription, dispatchOperation As DispatchOperation)" />
<MemberSignature Language="F#" Value="abstract member ApplyDispatchBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.DispatchOperation -> unit
override this.ApplyDispatchBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.DispatchOperation -> unit" Usage="receiveContextEnabledAttribute.ApplyDispatchBehavior (operationDescription, dispatchOperation)" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void ApplyDispatchBehavior(System::ServiceModel::Description::OperationDescription ^ operationDescription, System::ServiceModel::Dispatcher::DispatchOperation ^ dispatchOperation);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior(System.ServiceModel.Description.OperationDescription,System.ServiceModel.Dispatcher.DispatchOperation)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operationDescription" Type="System.ServiceModel.Description.OperationDescription" />
<Parameter Name="dispatchOperation" Type="System.ServiceModel.Dispatcher.DispatchOperation" />
</Parameters>
<Docs>
<param name="operationDescription">The operation description.</param>
<param name="dispatchOperation">The operation to dispatch to.</param>
<summary>Implements the <see cref="M:System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior(System.ServiceModel.Description.OperationDescription,System.ServiceModel.Dispatcher.DispatchOperation)" /> method.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ManualControl">
<MemberSignature Language="C#" Value="public bool ManualControl { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool ManualControl" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.ReceiveContextEnabledAttribute.ManualControl" />
<MemberSignature Language="VB.NET" Value="Public Property ManualControl As Boolean" />
<MemberSignature Language="F#" Value="member this.ManualControl : bool with get, set" Usage="System.ServiceModel.ReceiveContextEnabledAttribute.ManualControl" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool ManualControl { bool get(); void set(bool value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets value that indicates whether the receive acknowledgement for this operation is explicitly signaled by service method.</summary>
<value>
<see langword="true" /> if the receive acknowledgement for this operation is explicitly signaled; otherwise, <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When the <xref:System.ServiceModel.ReceiveContextEnabledAttribute.ManualControl%2A> 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 <xref:System.ServiceModel.Channels.ReceiveContext.Complete%2A> or <xref:System.ServiceModel.Channels.ReceiveContext.Abandon%2A> 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 <xref:System.ServiceModel.Channels.ReceiveContext.Abandon%2A> or lock timeout) the message is re-dispatched from the channel to the service. Calling <xref:System.ServiceModel.Channels.ReceiveContext.Complete%2A> marks the message as successfully received.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Validate">
<MemberSignature Language="C#" Value="public void Validate (System.ServiceModel.Description.OperationDescription operationDescription);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Validate(class System.ServiceModel.Description.OperationDescription operationDescription) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.ReceiveContextEnabledAttribute.Validate(System.ServiceModel.Description.OperationDescription)" />
<MemberSignature Language="VB.NET" Value="Public Sub Validate (operationDescription As OperationDescription)" />
<MemberSignature Language="F#" Value="abstract member Validate : System.ServiceModel.Description.OperationDescription -> unit
override this.Validate : System.ServiceModel.Description.OperationDescription -> unit" Usage="receiveContextEnabledAttribute.Validate operationDescription" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void Validate(System::ServiceModel::Description::OperationDescription ^ operationDescription);" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ServiceModel.Description.IOperationBehavior.Validate(System.ServiceModel.Description.OperationDescription)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operationDescription" Type="System.ServiceModel.Description.OperationDescription" />
</Parameters>
<Docs>
<param name="operationDescription">The operation description.</param>
<summary>Implements the <see cref="M:System.ServiceModel.Description.IOperationBehavior.Validate(System.ServiceModel.Description.OperationDescription)" /> method.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>