-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ImpersonateOnSerializingReplyMessageProperty.xml
205 lines (205 loc) · 16.4 KB
/
ImpersonateOnSerializingReplyMessageProperty.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
<Type Name="ImpersonateOnSerializingReplyMessageProperty" FullName="System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty">
<TypeSignature Language="C#" Value="public class ImpersonateOnSerializingReplyMessageProperty : System.ServiceModel.Channels.IMessageProperty" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ImpersonateOnSerializingReplyMessageProperty extends System.Object implements class System.ServiceModel.Channels.IMessageProperty" />
<TypeSignature Language="DocId" Value="T:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" />
<TypeSignature Language="VB.NET" Value="Public Class ImpersonateOnSerializingReplyMessageProperty
Implements IMessageProperty" />
<TypeSignature Language="F#" Value="type ImpersonateOnSerializingReplyMessageProperty = class
 interface IMessageProperty" />
<TypeSignature Language="C++ CLI" Value="public ref class ImpersonateOnSerializingReplyMessageProperty : System::ServiceModel::Channels::IMessageProperty" />
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.ServiceModel.Channels.IMessageProperty</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>A helper class to enable impersonation while serializing the body of the reply message.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<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.Security.ImpersonateOnSerializingReplyMessageProperty.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="impersonateOnSerializingReplyMessageProperty.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>
<ReturnValue>
<ReturnType>System.ServiceModel.Channels.IMessageProperty</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a copy of the message property.</summary>
<returns>The copy of the message property.</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.Security.ImpersonateOnSerializingReplyMessageProperty.Name" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property Name As String" />
<MemberSignature Language="F#" Value="static member Name : string" Usage="System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty.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>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the name of the message property.</summary>
<value>The name of the message property.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="StartImpersonation">
<MemberSignature Language="C#" Value="public void StartImpersonation (out IDisposable impersonationContext, out System.Security.Principal.IPrincipal originalPrincipal, out bool isThreadPrincipalSet);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void StartImpersonation([out] class System.IDisposable& impersonationContext, [out] class System.Security.Principal.IPrincipal& originalPrincipal, [out] bool& isThreadPrincipalSet) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty.StartImpersonation(System.IDisposable@,System.Security.Principal.IPrincipal@,System.Boolean@)" />
<MemberSignature Language="VB.NET" Value="Public Sub StartImpersonation (ByRef impersonationContext As IDisposable, ByRef originalPrincipal As IPrincipal, ByRef isThreadPrincipalSet As Boolean)" />
<MemberSignature Language="F#" Value="member this.StartImpersonation : IDisposable * IPrincipal * bool -> unit" Usage="impersonateOnSerializingReplyMessageProperty.StartImpersonation (impersonationContext, originalPrincipal, isThreadPrincipalSet)" />
<MemberSignature Language="C++ CLI" Value="public:
 void StartImpersonation([Runtime::InteropServices::Out] IDisposable ^ % impersonationContext, [Runtime::InteropServices::Out] System::Security::Principal::IPrincipal ^ % originalPrincipal, [Runtime::InteropServices::Out] bool % isThreadPrincipalSet);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Security.SecuritySafeCritical]</AttributeName>
<AttributeName Language="F#">[<System.Security.SecuritySafeCritical>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="impersonationContext" Type="System.IDisposable" RefType="out" />
<Parameter Name="originalPrincipal" Type="System.Security.Principal.IPrincipal" RefType="out" />
<Parameter Name="isThreadPrincipalSet" Type="System.Boolean" RefType="out" />
</Parameters>
<Docs>
<param name="impersonationContext">When this method returns, contains the impersonated context. This parameter is treated as uninitialized.</param>
<param name="originalPrincipal">When this method returns, contains the original principal on the thread before invoking this method. This parameter is treated as uninitialized.</param>
<param name="isThreadPrincipalSet">When this method returns, contains a value that indicates whether the principal was set on the thread by this method. This parameter returns <see langword="false" /> if the operation context was not available to impersonate. This parameter is treated as uninitialized.</param>
<summary>Starts impersonating with the caller's context if impersonation is enabled on the service and sets the appropriate principal on the thread as per the service configuration.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="StopImpersonation">
<MemberSignature Language="C#" Value="public void StopImpersonation (IDisposable impersonationContext, System.Security.Principal.IPrincipal originalPrincipal, bool isThreadPrincipalSet);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void StopImpersonation(class System.IDisposable impersonationContext, class System.Security.Principal.IPrincipal originalPrincipal, bool isThreadPrincipalSet) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty.StopImpersonation(System.IDisposable,System.Security.Principal.IPrincipal,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Sub StopImpersonation (impersonationContext As IDisposable, originalPrincipal As IPrincipal, isThreadPrincipalSet As Boolean)" />
<MemberSignature Language="F#" Value="member this.StopImpersonation : IDisposable * System.Security.Principal.IPrincipal * bool -> unit" Usage="impersonateOnSerializingReplyMessageProperty.StopImpersonation (impersonationContext, originalPrincipal, isThreadPrincipalSet)" />
<MemberSignature Language="C++ CLI" Value="public:
 void StopImpersonation(IDisposable ^ impersonationContext, System::Security::Principal::IPrincipal ^ originalPrincipal, bool isThreadPrincipalSet);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Security.SecuritySafeCritical]</AttributeName>
<AttributeName Language="F#">[<System.Security.SecuritySafeCritical>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="impersonationContext" Type="System.IDisposable" />
<Parameter Name="originalPrincipal" Type="System.Security.Principal.IPrincipal" />
<Parameter Name="isThreadPrincipalSet" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="impersonationContext">The impersonation context to revert.</param>
<param name="originalPrincipal">The original principal to set on the thread.</param>
<param name="isThreadPrincipalSet">A value that indicates whether the thread principal was set during impersonation. <see langword="true" /> if the principal was set; otherwise, <see langword="false" />.</param>
<summary>Reverts impersonation and sets the specified original principal on the thread.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="TryGet">
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets the <see cref="T:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" /> property from the specified message or message properties.</summary>
</Docs>
</MemberGroup>
<Member MemberName="TryGet">
<MemberSignature Language="C#" Value="public static bool TryGet (System.ServiceModel.Channels.Message message, out System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty property);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryGet(class System.ServiceModel.Channels.Message message, [out] class System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty& property) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty.TryGet(System.ServiceModel.Channels.Message,System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryGet (message As Message, ByRef property As ImpersonateOnSerializingReplyMessageProperty) As Boolean" />
<MemberSignature Language="F#" Value="static member TryGet : System.ServiceModel.Channels.Message * ImpersonateOnSerializingReplyMessageProperty -> bool" Usage="System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty.TryGet (message, property)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryGet(System::ServiceModel::Channels::Message ^ message, [Runtime::InteropServices::Out] System::ServiceModel::Security::ImpersonateOnSerializingReplyMessageProperty ^ % property);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="message" Type="System.ServiceModel.Channels.Message" />
<Parameter Name="property" Type="System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" RefType="out" />
</Parameters>
<Docs>
<param name="message">The message from which to extract the property.</param>
<param name="property">When this method returns, contains the <see cref="T:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" /> property extracted from the message.</param>
<summary>Gets the <see cref="T:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" /> property from the specified message.</summary>
<returns>
<see langword="true" /> if the <see cref="T:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" /> property was found; 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.Security.ImpersonateOnSerializingReplyMessageProperty property);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryGet(class System.ServiceModel.Channels.MessageProperties properties, [out] class System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty& property) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty.TryGet(System.ServiceModel.Channels.MessageProperties,System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryGet (properties As MessageProperties, ByRef property As ImpersonateOnSerializingReplyMessageProperty) As Boolean" />
<MemberSignature Language="F#" Value="static member TryGet : System.ServiceModel.Channels.MessageProperties * ImpersonateOnSerializingReplyMessageProperty -> bool" Usage="System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty.TryGet (properties, property)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryGet(System::ServiceModel::Channels::MessageProperties ^ properties, [Runtime::InteropServices::Out] System::ServiceModel::Security::ImpersonateOnSerializingReplyMessageProperty ^ % property);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="properties" Type="System.ServiceModel.Channels.MessageProperties" />
<Parameter Name="property" Type="System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" RefType="out" />
</Parameters>
<Docs>
<param name="properties">The message properties object from which to extract the property.</param>
<param name="property">When this method returns, contains the <see cref="T:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" /> property extracted from the message.</param>
<summary>Gets the <see cref="T:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" /> property from the specified <see cref="T:System.ServiceModel.Channels.MessageProperties" /> object.</summary>
<returns>
<see langword="true" /> if the <see cref="T:System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty" /> property was found; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>