WebSocketTransportSettings.Equals 方法
定义
确定指定的对象是否等同于当前的对象。Determines whether the specified object is equal with the current object.
重载
| Equals(Object) |
确定指定的对象是否等同于当前的对象。Determines whether the specified object is equal with the current object. |
| Equals(WebSocketTransportSettings) |
确定指定的套接传输器对象与当前对象是否相等。Determines whether the specified web socket transport settings object is equal with the current object. |
Equals(Object)
确定指定的对象是否等同于当前的对象。Determines whether the specified object is equal with the current object.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
参数
- obj
- Object
要与当前对象进行比较的对象。The object to compare with the current object.
返回
如果指定的对象等于当前的对象,则为 true;否则为 false。true if the specified object is equal with the current object; otherwise, false.
适用于
Equals(WebSocketTransportSettings)
确定指定的套接传输器对象与当前对象是否相等。Determines whether the specified web socket transport settings object is equal with the current object.
public:
virtual bool Equals(System::ServiceModel::Channels::WebSocketTransportSettings ^ other);
public bool Equals (System.ServiceModel.Channels.WebSocketTransportSettings other);
override this.Equals : System.ServiceModel.Channels.WebSocketTransportSettings -> bool
Public Function Equals (other As WebSocketTransportSettings) As Boolean
参数
用于和当前对象进行比较的网络套接字传输设置对象。The web socket transport settings object to compare with the current object.
返回
如果指定的对象等于当前的对象,则为 true;否则为 false。true if the specified object is equal with the current object; otherwise, false.