ImpersonateOnSerializingReplyMessageProperty Class

.NET Framework (current version)
 

A helper class to enable impersonation while serializing the body of the reply message.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty

public class ImpersonateOnSerializingReplyMessageProperty : IMessageProperty

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticName

Gets the name of the message property.

NameDescription
System_CAPS_pubmethodCreateCopy()

Creates a copy of the message property.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodStartImpersonation(IDisposable, IPrincipal, Boolean)

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.

System_CAPS_pubmethodStopImpersonation(IDisposable, IPrincipal, Boolean)

Reverts impersonation and sets the specified original principal on the thread.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticTryGet(Message, ImpersonateOnSerializingReplyMessageProperty)

Gets the ImpersonateOnSerializingReplyMessageProperty property from the specified message.

System_CAPS_pubmethodSystem_CAPS_staticTryGet(MessageProperties, ImpersonateOnSerializingReplyMessageProperty)

Gets the ImpersonateOnSerializingReplyMessageProperty property from the specified MessageProperties object..

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: