SecurityTokenInclusionMode Enumeration

SecurityTokenInclusionMode Enumeration

Namespace: System.ServiceModel.Security.Tokens
Assembly: System.ServiceModel (in system.servicemodel.dll)

public enum SecurityTokenInclusionMode
public enum SecurityTokenInclusionMode
public enum SecurityTokenInclusionMode

  Member name Description
AlwaysToInitiator Token is always included in messages to the initiator and never to the recipient. 
AlwaysToRecipient Token is always included in messages to the recipient and never to the initiator. 
Never The token is never included in messages but is referenced. The token must be known to the recipient out of band. The option does not work out of the box. You need to include custom credentials for this to work. 
Once Token is included once. 

The token must be included in only one message sent from the initiator to the recipient. References to the token may use an internal reference mechanism. Subsequent related messages sent between the recipient and the initiator may refer to the token using an external reference mechanism.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

© 2016 Microsoft