Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MessageSecurityOverHttp Class
Collapse the table of content
Expand the table of content

MessageSecurityOverHttp Class

Enables setting message-level security properties on the wsDualHttpBinding binding.

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

public class MessageSecurityOverHttp

The MessageSecurityOverHttp type exposes the following members.

Public methodMessageSecurityOverHttpInitializes a new instance of the MessageSecurityOverHttp class.

Public propertyAlgorithmSuiteSpecifies the algorithm suite used for security messages at the SOAP level.
Public propertyClientCredentialTypeSpecifies the type of client credential used for client authentication in the wsHttpBinding or wsDualHttpBinding bindings.
Public propertyNegotiateServiceCredentialGets or sets a value that indicates whether the service credential is provisioned at the client out of band or is obtained from the service through a process of negotiation.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodIsSecureConversationEnabledOnly used in extensibility scenarios to indicate whether an instance of a class derived from MessageSecurityOverHttp is configured to perform secure conversation as described in WS-SecurityConversation.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodShouldSerializeAlgorithmSuiteReturns a value that indicates whether the AlgorithmSuite property has changed from its default value and should be serialized.
Public methodShouldSerializeClientCredentialTypeReturns a value that indicates whether the ClientCredentialType property has changed from its default value and should be serialized.
Public methodShouldSerializeNegotiateServiceCredentialReturns a value that indicates whether the NegotiateServiceCredential property has changed from its default value and should be serialized.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

This object is accessed from the binding by means of the Security property, which returns a WSDualHttpSecurity object. The Message property provides a reference to the MessageSecurityOverHttp object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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