EndpointAddressAugust2004 클래스

정의

2004년 8월 버전의 WS-Addressing을 준수하며 엔드포인트 주소를 서비스 계약의 일부로 공개할 수 있는 serialize 가능한 형식을 가진 엔드포인트 주소를 제공합니다.

public ref class EndpointAddressAugust2004 : System::Xml::Serialization::IXmlSerializable
public class EndpointAddressAugust2004 : System.Xml.Serialization.IXmlSerializable
type EndpointAddressAugust2004 = class
    interface IXmlSerializable
Public Class EndpointAddressAugust2004
Implements IXmlSerializable
상속
EndpointAddressAugust2004
구현

예제

// Create an EndpointAddress with a specified address.
EndpointAddress epa1 = new EndpointAddress("http://localhost/ServiceModelSamples");
Console.WriteLine("The URI of the EndpointAddress is {0}:", epa1.Uri);
Console.WriteLine();

//Initialize an EndpointAddressAugust2004 from the endpointAddress.
EndpointAddressAugust2004 epaA4 = EndpointAddressAugust2004.FromEndpointAddress(epa1);

//Serialize and then deserializde the EndpointAugust2004 type.

//Convert the EndpointAugust2004 back into an EndpointAddress.
EndpointAddress epa2 = epaA4.ToEndpointAddress();

Console.WriteLine("The URI of the EndpointAddress is still {0}:", epa2.Uri);
Console.WriteLine();
' Create an EndpointAddress with a specified address.
Dim epa1 As New EndpointAddress("http://localhost/ServiceModelSamples")
Console.WriteLine("The URI of the EndpointAddress is {0}:", epa1.Uri)
Console.WriteLine()

'Initialize an EndpointAddressAugust2004 from the endpointAddress.
Dim epaA4 As EndpointAddressAugust2004 = EndpointAddressAugust2004.FromEndpointAddress(epa1)

'Serialize and then deserializde the EndpointAugust2004 type.

'Convert the EndpointAugust2004 back into an EndpointAddress.
Dim epa2 As EndpointAddress = epaA4.ToEndpointAddress()

Console.WriteLine("The URI of the EndpointAddress is still {0}:", epa2.Uri)
Console.WriteLine()

설명

EndpointAddress는 serialize할 수 없으며 특정 버전의 WS-Addressing 사양과도 연관이 없습니다. 직렬화 가능 형식에 제공 하는 클래스를 제공 하는 Windows Communication Foundation (WCF) EndpointAddress10, 하는 형식은 Ws-addressing V1을 준수 합니다.

이 클래스는 레거시 용도로 serialize 가능하고 특정 통신 형식에 바인딩되는 EndpointAddress용 WS-Addressing August 2004 규격 래퍼를 제공합니다. FromEndpointAddress(EndpointAddress) 메서드가 래핑을 수행하고 ToEndpointAddress 메서드가 래핑 해제를 담당하므로 연결 중에 엔드포인트 주소가 serialize된 후에도 엔드포인트 주소 복구가 가능합니다.

메서드

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
FromEndpointAddress(EndpointAddress)

지정된 엔드포인트 주소를 사용하여 EndpointAddress10 클래스의 새 인스턴스를 초기화합니다.

GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetSchema(XmlSchemaSet)

지정 캐시된 스키마로부터 버전 1 엔드포인트 주소의 XML 표현을 나타내는 XML 정규화된 이름을 반환합니다.

GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToEndpointAddress()

serialize할 수 있는 이 형식에 포함된 엔드포인트 주소를 검색합니다.

ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

명시적 인터페이스 구현

IXmlSerializable.GetSchema()

null를 반환합니다.

IXmlSerializable.ReadXml(XmlReader)

이 멤버는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.

IXmlSerializable.WriteXml(XmlWriter)

이 멤버는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.

적용 대상