SocketPermissionAttribute.Transport 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 TransportType 由此 SocketPermissionAttribute指定的值。
public:
property System::String ^ Transport { System::String ^ get(); void set(System::String ^ value); };
public string Transport { get; set; }
member this.Transport : string with get, set
Public Property Transport As String
属性值
一个字符串,包含 TransportType 与此 SocketPermissionAttribute关联的字符串。
例外
Transport
null不是尝试设置值时。 若要指定多个传输类型,请使用其他属性声明语句。
注解
此属性All的可能字符串值为 、、 ConnectionlessConnectionOrientedTcp和 。Udp