Partager via


LocalClientSecuritySettings Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Specifies local client security settings.

Inheritance Hierarchy

System.Object
  System.ServiceModel.Channels.LocalClientSecuritySettings

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

Syntax

'Declaration
Public NotInheritable Class LocalClientSecuritySettings
public sealed class LocalClientSecuritySettings

The LocalClientSecuritySettings type exposes the following members.

Constructors

  Name Description
Public methodSupported by Silverlight for Windows Phone LocalClientSecuritySettings Initializes a new instance of the LocalClientSecuritySettings class.

Top

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone MaxClockSkew Gets or sets the maximum allowable time difference between the system clocks of the two parties that are communicating.
Public propertySupported by Silverlight for Windows Phone ReplayWindow Gets or sets the maximum time that a message nonce is valid.
Public propertySupported by Silverlight for Windows Phone TimestampValidityDuration Gets or sets the maximum duration that the messages are valid when sent by the client. If a message is received by the service after this duration, it should discard the message.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Clone Creates a new instance of this class that is a copy of the current instance.
Public methodSupported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

This class contains the local security settings used by the SecurityBindingElement (and classes derived from it) to build the security channel. These settings are local to the client and are not determined from the service's security policy.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

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