NetNamedPipeSecurity.ShouldSerializeTransport 方法

定义

返回一个值,该值指示 Transport 属性是否已更改,不再是默认值且应对其进行序列化。Returns a value that indicates whether the Transport property has changed from its default value and should be serialized. WCF 使用此项进行 XAML 集成。This is used by WCF for XAML integration.

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

返回

Boolean

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

适用于