WebSocketTransportSettings.Equals 方法

定義

判斷指定的物件是否等於目前的物件。

多載

Equals(Object)

判斷指定的物件是否等於目前的物件。

Equals(WebSocketTransportSettings)

判斷指定的 Web 通訊端傳輸設定物件是否等於目前的物件。

Equals(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

要與目前物件比較的物件。

傳回

Boolean

如果指定的物件等於目前的物件,則為 true,否則為 false

適用於

Equals(WebSocketTransportSettings)

判斷指定的 Web 通訊端傳輸設定物件是否等於目前的物件。

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

參數

other
WebSocketTransportSettings

要與目前物件相互比較的 Web 通訊端傳輸設定物件。

傳回

Boolean

如果指定的物件等於目前的物件,則為 true,否則為 false

實作

適用於