Επεξεργασία

Κοινή χρήση μέσω


ImpersonateOnSerializingReplyMessageProperty Class

Definition

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

public ref class ImpersonateOnSerializingReplyMessageProperty : System::ServiceModel::Channels::IMessageProperty
public class ImpersonateOnSerializingReplyMessageProperty : System.ServiceModel.Channels.IMessageProperty
type ImpersonateOnSerializingReplyMessageProperty = class
    interface IMessageProperty
Public Class ImpersonateOnSerializingReplyMessageProperty
Implements IMessageProperty
Inheritance
ImpersonateOnSerializingReplyMessageProperty
Implements

Properties

Name

Gets the name of the message property.

Methods

CreateCopy()

Creates a copy of the message property.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
StartImpersonation(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.

StopImpersonation(IDisposable, IPrincipal, Boolean)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGet(Message, ImpersonateOnSerializingReplyMessageProperty)

Gets the ImpersonateOnSerializingReplyMessageProperty property from the specified message.

TryGet(MessageProperties, ImpersonateOnSerializingReplyMessageProperty)

Gets the ImpersonateOnSerializingReplyMessageProperty property from the specified MessageProperties object.

Applies to