NetHttpWebSocketTransportSettingsElement.TransportUsage 属性

定义

获取或设置传输用法。

public:
 virtual property System::ServiceModel::Channels::WebSocketTransportUsage TransportUsage { System::ServiceModel::Channels::WebSocketTransportUsage get(); void set(System::ServiceModel::Channels::WebSocketTransportUsage value); };
[System.Configuration.ConfigurationProperty("transportUsage", DefaultValue=System.ServiceModel.Channels.WebSocketTransportUsage.WhenDuplex)]
public override System.ServiceModel.Channels.WebSocketTransportUsage TransportUsage { get; set; }
[<System.Configuration.ConfigurationProperty("transportUsage", DefaultValue=System.ServiceModel.Channels.WebSocketTransportUsage.WhenDuplex)>]
member this.TransportUsage : System.ServiceModel.Channels.WebSocketTransportUsage with get, set
Public Overrides Property TransportUsage As WebSocketTransportUsage

属性值

WebSocketTransportUsage

传输用法。

属性

适用于