BasicHttpBinding.ShouldSerializeSecurity 方法

定义

返回是否应基于是否已进行序列化(例如在消息级别或传输级别)来对安全设置进行序列化。Returns whether security settings should be serialized based upon whether serialization already occurs, for example at the message or transport level.

public:
 bool ShouldSerializeSecurity();
public bool ShouldSerializeSecurity ();
member this.ShouldSerializeSecurity : unit -> bool
Public Function ShouldSerializeSecurity () As Boolean

返回

Boolean

如果应对安全进行序列化,则为 true;否则,为 falsetrue if security should be serialized; otherwise, false.

适用于