MessageSecurityOverHttp.ShouldSerializeClientCredentialType 方法

定义

返回一个值,该值指示 ClientCredentialType 属性是否已更改,不再是默认值且应对其进行序列化。Returns a value that indicates whether the ClientCredentialType property has changed from its default value and should be serialized.

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

返回

Boolean

如果应当序列化 ClientCredentialType 属性值,则为 true;否则为 falsetrue if the ClientCredentialType property value should be serialized; otherwise, false.

适用于