/
ContextMessageProperty.xml
371 lines (365 loc) · 27.5 KB
/
ContextMessageProperty.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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<Type Name="ContextMessageProperty" FullName="System.ServiceModel.Channels.ContextMessageProperty">
<TypeSignature Language="C#" Value="public class ContextMessageProperty : System.ServiceModel.Channels.IMessageProperty" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit ContextMessageProperty extends System.Object implements class System.ServiceModel.Channels.IMessageProperty" />
<TypeSignature Language="DocId" Value="T:System.ServiceModel.Channels.ContextMessageProperty" />
<TypeSignature Language="VB.NET" Value="Public Class ContextMessageProperty
Implements IMessageProperty" />
<TypeSignature Language="F#" Value="type ContextMessageProperty = class
 interface IMessageProperty" />
<TypeSignature Language="C++ CLI" Value="public ref class ContextMessageProperty : System::ServiceModel::Channels::IMessageProperty" />
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeForwardingChain>
<TypeForwarding From="System.WorkflowServices" FromVersion="4.0.0.0" To="System.ServiceModel" ToVersion="4.0.0.0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
</TypeForwardingChain>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface FrameworkAlternate="netframework-4.8.1">
<InterfaceName>System.ServiceModel.Channels.IMessageProperty</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Serializable]</AttributeName>
<AttributeName Language="F#">[<System.Serializable>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Runtime.CompilerServices.TypeForwardedFrom("System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.TypeForwardedFrom("System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A property used to communicate context between the application and channel layers on either the client or the service.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A collection of properties that are added to a <xref:System.ServiceModel.Channels.Message> that correlates messages that form part of a conversation between a client and a service.
If <xref:System.ServiceModel.Channels.IContextManager.Enabled%2A> is `true`, context is established at the channel layer, and all incoming messages on the client and the service have this context property attached by the context channel. If <xref:System.ServiceModel.Channels.IContextManager.Enabled%2A> is `false` the <xref:System.ServiceModel.Channels.ContextMessageProperty> is used to attach context to an outgoing message on the client or the service at the application layer.
The <xref:System.ServiceModel.Channels.ContextMessageProperty> can be used on the client or on the service. Alternatively, on the client only, the current context can be obtained or a new context can be set on channel instance using <xref:System.ServiceModel.Channels.IContextManager.GetContext%2A> and <xref:System.ServiceModel.Channels.IContextManager.SetContext%2A> properties.
]]></format>
</remarks>
<altmember cref="P:System.ServiceModel.Channels.Message.Properties" />
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ContextMessageProperty ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Channels.ContextMessageProperty.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 ContextMessageProperty();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ContextMessageProperty (System.Collections.Generic.IDictionary<string,string> context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.Generic.IDictionary`2<string, string> context) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Channels.ContextMessageProperty.#ctor(System.Collections.Generic.IDictionary{System.String,System.String})" />
<MemberSignature Language="VB.NET" Value="Public Sub New (context As IDictionary(Of String, String))" />
<MemberSignature Language="F#" Value="new System.ServiceModel.Channels.ContextMessageProperty : System.Collections.Generic.IDictionary<string, string> -> System.ServiceModel.Channels.ContextMessageProperty" Usage="new System.ServiceModel.Channels.ContextMessageProperty context" />
<MemberSignature Language="C++ CLI" Value="public:
 ContextMessageProperty(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ context);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="context" Type="System.Collections.Generic.IDictionary<System.String,System.String>" />
</Parameters>
<Docs>
<param name="context">The <see cref="T:System.Collections.Generic.IDictionary`2" /> that contains the context information used to correlate messages with a specific conversation between a client and a service.</param>
<summary>Initializes a new instance of the <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" /> class with a specified context.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="context" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="AddOrReplaceInMessage">
<MemberSignature Language="C#" Value="public void AddOrReplaceInMessage (System.ServiceModel.Channels.Message message);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddOrReplaceInMessage(class System.ServiceModel.Channels.Message message) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Channels.ContextMessageProperty.AddOrReplaceInMessage(System.ServiceModel.Channels.Message)" />
<MemberSignature Language="VB.NET" Value="Public Sub AddOrReplaceInMessage (message As Message)" />
<MemberSignature Language="F#" Value="member this.AddOrReplaceInMessage : System.ServiceModel.Channels.Message -> unit" Usage="contextMessageProperty.AddOrReplaceInMessage message" />
<MemberSignature Language="C++ CLI" Value="public:
 void AddOrReplaceInMessage(System::ServiceModel::Channels::Message ^ message);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="message" Type="System.ServiceModel.Channels.Message" />
</Parameters>
<Docs>
<param name="message">The <see cref="T:System.ServiceModel.Channels.Message" /> whose context message property is to be set.</param>
<summary>Sets the value of the <see langword="ContextMessageProperty" /> property in a specified <see cref="T:System.ServiceModel.Channels.Message" /> from the current instance of <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.ServiceModel.Channels.ContextMessageProperty.AddOrReplaceInMessage%28System.ServiceModel.Channels.Message%29?displayProperty=nameWithType> method overwrites the value of the `ContextMessageProperty` property if a value is already set.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="message" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="AddOrReplaceInMessageProperties">
<MemberSignature Language="C#" Value="public void AddOrReplaceInMessageProperties (System.ServiceModel.Channels.MessageProperties properties);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddOrReplaceInMessageProperties(class System.ServiceModel.Channels.MessageProperties properties) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Channels.ContextMessageProperty.AddOrReplaceInMessageProperties(System.ServiceModel.Channels.MessageProperties)" />
<MemberSignature Language="VB.NET" Value="Public Sub AddOrReplaceInMessageProperties (properties As MessageProperties)" />
<MemberSignature Language="F#" Value="member this.AddOrReplaceInMessageProperties : System.ServiceModel.Channels.MessageProperties -> unit" Usage="contextMessageProperty.AddOrReplaceInMessageProperties properties" />
<MemberSignature Language="C++ CLI" Value="public:
 void AddOrReplaceInMessageProperties(System::ServiceModel::Channels::MessageProperties ^ properties);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="properties" Type="System.ServiceModel.Channels.MessageProperties" />
</Parameters>
<Docs>
<param name="properties">The collection of <see cref="T:System.ServiceModel.Channels.MessageProperties" /> whose context message property is to be set.</param>
<summary>Sets the value of the <see langword="ContextMessageProperty" /> property in a specified collection of <see cref="T:System.ServiceModel.Channels.MessageProperties" /> from the current instance of <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" />.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="properties" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="Context">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IDictionary<string,string> Context { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IDictionary`2<string, string> Context" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Channels.ContextMessageProperty.Context" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Context As IDictionary(Of String, String)" />
<MemberSignature Language="F#" Value="member this.Context : System.Collections.Generic.IDictionary<string, string>" Usage="System.ServiceModel.Channels.ContextMessageProperty.Context" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ Context { System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.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>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IDictionary<System.String,System.String></ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the context used to correlate messages within a conversation between a client and a service.</summary>
<value>The <see cref="T:System.Collections.Generic.IDictionary`2" /> that contains the context information used to correlate messages within a conversation between a client and a service.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateCopy">
<MemberSignature Language="C#" Value="public System.ServiceModel.Channels.IMessageProperty CreateCopy ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ServiceModel.Channels.IMessageProperty CreateCopy() cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Channels.ContextMessageProperty.CreateCopy" />
<MemberSignature Language="VB.NET" Value="Public Function CreateCopy () As IMessageProperty" />
<MemberSignature Language="F#" Value="abstract member CreateCopy : unit -> System.ServiceModel.Channels.IMessageProperty
override this.CreateCopy : unit -> System.ServiceModel.Channels.IMessageProperty" Usage="contextMessageProperty.CreateCopy " />
<MemberSignature Language="C++ CLI" Value="public:
 virtual System::ServiceModel::Channels::IMessageProperty ^ CreateCopy();" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ServiceModel.Channels.IMessageProperty.CreateCopy</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.IMessageProperty</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a copy of the current instance of <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" />.</summary>
<returns>The <see cref="T:System.ServiceModel.Channels.IMessageProperty" /> that contains a sealed copy of the current instance of <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public static string Name { get; }" />
<MemberSignature Language="ILAsm" Value=".property string Name" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Channels.ContextMessageProperty.Name" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property Name As String" />
<MemberSignature Language="F#" Value="static member Name : string" Usage="System.ServiceModel.Channels.ContextMessageProperty.Name" />
<MemberSignature Language="C++ CLI" Value="public:
 static property System::String ^ Name { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the name of the context message property.</summary>
<value>The string "ContextMessageProperty".</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TryCreateFromHttpCookieHeader">
<MemberSignature Language="C#" Value="public static bool TryCreateFromHttpCookieHeader (string httpCookieHeader, out System.ServiceModel.Channels.ContextMessageProperty context);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryCreateFromHttpCookieHeader(string httpCookieHeader, [out] class System.ServiceModel.Channels.ContextMessageProperty& context) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Channels.ContextMessageProperty.TryCreateFromHttpCookieHeader(System.String,System.ServiceModel.Channels.ContextMessageProperty@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryCreateFromHttpCookieHeader (httpCookieHeader As String, ByRef context As ContextMessageProperty) As Boolean" />
<MemberSignature Language="F#" Value="static member TryCreateFromHttpCookieHeader : string * ContextMessageProperty -> bool" Usage="System.ServiceModel.Channels.ContextMessageProperty.TryCreateFromHttpCookieHeader (httpCookieHeader, context)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryCreateFromHttpCookieHeader(System::String ^ httpCookieHeader, [Runtime::InteropServices::Out] System::ServiceModel::Channels::ContextMessageProperty ^ % context);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="httpCookieHeader" Type="System.String" />
<Parameter Name="context" Type="System.ServiceModel.Channels.ContextMessageProperty" RefType="out" />
</Parameters>
<Docs>
<param name="httpCookieHeader">The name of the HTTP cookie header from which the <paramref name="context" /> property values are to be initialized.</param>
<param name="context">When this method returns <see langword="true" />, <paramref name="context" /> contains a <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" /> that contains the <see langword="ContextMessageProperty" /> that is associated with the <paramref name="httpCookieHeader" />. This parameter is passed uninitialized.</param>
<summary>Attempts to instantiate a <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" /> from the key/value pairs of a specified HTTP cookie.</summary>
<returns>
<see langword="true" /> when a value for the <see langword="ContextMessageProperty" /> is obtained from the <paramref name="httpCookieHeader" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="httpCookieHeader" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<MemberGroup MemberName="TryGet">
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Attempts to get the <see langword="ContextMessageProperty" /> from a specified message or collection of message properties.</summary>
</Docs>
</MemberGroup>
<Member MemberName="TryGet">
<MemberSignature Language="C#" Value="public static bool TryGet (System.ServiceModel.Channels.Message message, out System.ServiceModel.Channels.ContextMessageProperty contextMessageProperty);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryGet(class System.ServiceModel.Channels.Message message, [out] class System.ServiceModel.Channels.ContextMessageProperty& contextMessageProperty) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Channels.ContextMessageProperty.TryGet(System.ServiceModel.Channels.Message,System.ServiceModel.Channels.ContextMessageProperty@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryGet (message As Message, ByRef contextMessageProperty As ContextMessageProperty) As Boolean" />
<MemberSignature Language="F#" Value="static member TryGet : System.ServiceModel.Channels.Message * ContextMessageProperty -> bool" Usage="System.ServiceModel.Channels.ContextMessageProperty.TryGet (message, contextMessageProperty)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryGet(System::ServiceModel::Channels::Message ^ message, [Runtime::InteropServices::Out] System::ServiceModel::Channels::ContextMessageProperty ^ % contextMessageProperty);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="message" Type="System.ServiceModel.Channels.Message" />
<Parameter Name="contextMessageProperty" Type="System.ServiceModel.Channels.ContextMessageProperty" RefType="out" />
</Parameters>
<Docs>
<param name="message">The <see cref="T:System.ServiceModel.Channels.Message" /> from which the context message properties are to be retrieved.</param>
<param name="contextMessageProperty">When this method returns <see langword="true" />, <paramref name="contextMessageProperty" /> contains a <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" /> that contains the <see langword="ContextMessageProperty" /> that is associated with the <paramref name="message" />. This parameter is passed uninitialized.</param>
<summary>Attempts to get the <see langword="ContextMessageProperty" /> from the properties of a specified message.</summary>
<returns>
<see langword="true" /> when a value for the <see langword="ContextMessageProperty" /> is obtained from the <paramref name="message" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TryGet">
<MemberSignature Language="C#" Value="public static bool TryGet (System.ServiceModel.Channels.MessageProperties properties, out System.ServiceModel.Channels.ContextMessageProperty contextMessageProperty);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryGet(class System.ServiceModel.Channels.MessageProperties properties, [out] class System.ServiceModel.Channels.ContextMessageProperty& contextMessageProperty) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Channels.ContextMessageProperty.TryGet(System.ServiceModel.Channels.MessageProperties,System.ServiceModel.Channels.ContextMessageProperty@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryGet (properties As MessageProperties, ByRef contextMessageProperty As ContextMessageProperty) As Boolean" />
<MemberSignature Language="F#" Value="static member TryGet : System.ServiceModel.Channels.MessageProperties * ContextMessageProperty -> bool" Usage="System.ServiceModel.Channels.ContextMessageProperty.TryGet (properties, contextMessageProperty)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryGet(System::ServiceModel::Channels::MessageProperties ^ properties, [Runtime::InteropServices::Out] System::ServiceModel::Channels::ContextMessageProperty ^ % contextMessageProperty);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.WorkflowServices</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="properties" Type="System.ServiceModel.Channels.MessageProperties" />
<Parameter Name="contextMessageProperty" Type="System.ServiceModel.Channels.ContextMessageProperty" RefType="out" />
</Parameters>
<Docs>
<param name="properties">The <see cref="T:System.ServiceModel.Channels.MessageProperties" /> from which the context message properties are to be retrieved.</param>
<param name="contextMessageProperty">When this method returns <see langword="true" />, <paramref name="contextMessageProperty" /> contains a <see cref="T:System.ServiceModel.Channels.ContextMessageProperty" /> that contains the <see langword="ContextMessageProperty" /> that is associated with the <paramref name="properties" />. This parameter is passed uninitialized.</param>
<summary>Attempts to get the <see langword="ContextMessageProperty" /> from a specified collection of message properties.</summary>
<returns>
<see langword="true" /> when a value for the <see langword="ContextMessageProperty" /> is obtained from the <paramref name="properties" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>