AddressingVersion 類別

定義

與 SOAP 訊息相關聯或是由端點所了解的 WS-Addressing 版本。The WS-Addressing version associated with a SOAP message or understood by an endpoint.

public ref class AddressingVersion sealed
public sealed class AddressingVersion
type AddressingVersion = class
Public NotInheritable Class AddressingVersion
繼承
AddressingVersion

備註

目前有兩個 WS-Addressing 版本可用:2004 年 8 月的 WS-Addressing 版本和 WS-Addressing 1.0。There are currently two version of WS-Addressing: WS-Addressing August 2004 and WS-Addressing 1.0. 這兩個版本分別可以使用 WSAddressingAugust2004WSAddressing10 屬性來加以擷取。These versions can be retrieved using the WSAddressingAugust2004 and WSAddressing10 properties, respectively. 也有一個可用的定址版本與 WS-Addressing 不相關,它可以使用 None 屬性來加以擷取。There is also an addressing version available that is not associated with WS-Addressing, which is retrieved using the None property. 這個值表示不會使用 WS-Addressing 的任何版本。This value indicates that no version of WS-Addressing is used. 這主要適用於在網路上未傳遞 SOAP 封套的傳輸,因此對 WS-Addressing 沒有作用。This is primarily for transports that do not pass SOAP envelopes on the wire and therefore have no use for WS-Addressing.

定址版本為訊息版本的一部分:特別是,AddressingVersion 會提供 Addressing 屬性的傳回型別。The addressing version is part of the message version: specifically AddressingVersion provides the return type for the Addressing property. MessageVersion 除了定址版本資訊外,也包含 SOAP 封套版本。The MessageVersion also contains the SOAP envelope version in addition to the addressing version information. EnvelopeVersion 會提供 Envelope 屬性的傳回型別。The EnvelopeVersion provides the return type for the Envelope property.

屬性

None

取得與 WS-Addressing 版本不相關聯的定址版本。Gets the addressing version that is not associated with WS-Addressing version.

WSAddressing10

取得與 WS-Addressing 1.0 相關聯之位址版本的識別碼。Gets an identifier for the address version associated with WS-Addressing 1.0.

WSAddressingAugust2004

取得與 2004 年 8 月 WS-Addressing 版本相關聯的 WS-Addressing 版本。Gets the version of WS-Addressing that is associated with WS-Addressing August 2004.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回目前定址版本的字串表示。Returns a string representation of the current addressing version.

適用於