SecurityMessageProperty Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Contains security-related properties and is attached to a message.

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

System.Object
  System.ServiceModel.Security.SecurityMessageProperty

public class SecurityMessageProperty : IMessageProperty, IDisposable

NameDescription
System_CAPS_pubmethodSecurityMessageProperty()

Initializes a new instance of the SecurityMessageProperty class.

NameDescription
System_CAPS_pubpropertyExternalAuthorizationPolicies

Gets or sets a collection of external authorization policies.

System_CAPS_pubpropertyHasIncomingSupportingTokens

Indicates whether the incoming message contains at least one supporting security token.

System_CAPS_pubpropertyIncomingSupportingTokens

Gets or sets a collection of incoming supporting tokens.

System_CAPS_pubpropertyInitiatorToken

Gets or sets the SecurityTokenSpecification initiator token for this message.

System_CAPS_pubpropertyOutgoingSupportingTokens

Gets a collection of outgoing SupportingTokenSpecification objects.

System_CAPS_pubpropertyProtectionToken

Gets or sets the SecurityTokenSpecification protection token for this message.

System_CAPS_pubpropertyRecipientToken

Gets or sets the SecurityTokenSpecification recipient token for this message.

System_CAPS_pubpropertySenderIdPrefix

Gets or sets the sender ID prefix for this message.

System_CAPS_pubpropertyServiceSecurityContext

Gets or sets the ServiceSecurityContext for this message.

System_CAPS_pubpropertyTransportToken

Gets or sets the SecurityTokenSpecification transport token for this message.

NameDescription
System_CAPS_pubmethodCreateCopy()

Clones the current instance of this class.

System_CAPS_pubmethodDispose()

Disposes of the current instance of this class.

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_pubmethodSystem_CAPS_staticGetOrCreate(Message)

Gets or creates an instance of this class from the specified message.

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_pubmethodToString()

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

Client authentication results are translated into an instance of ServiceSecurityContext, which is attached to the message using a SecurityMessageProperty. This property can be used by higher layers to implement custom authorization logic.

.NET Framework
Available since 3.0

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: