EndpointAddress.Uri Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the URI for the endpoint.
public:
property Uri ^ Uri { Uri ^ get(); };
public Uri Uri { get; }
[System.ComponentModel.TypeConverter(typeof(System.UriTypeConverter))]
public Uri Uri { get; }
member this.Uri : Uri
[<System.ComponentModel.TypeConverter(typeof(System.UriTypeConverter))>]
member this.Uri : Uri
Public ReadOnly Property Uri As Uri
Property Value
The Uri for the endpoint.
- Attributes
Examples
EndpointIdentity endpointIdentity =
EndpointIdentity.CreateUpnIdentity(WindowsIdentity.GetCurrent().Name);
EndpointAddress endpointAddress = new EndpointAddress(
new Uri
("http://localhost:8003/servicemodelsamples/service/incode/identity"),
endpointIdentity, addressHeaders);
Uri nonUri = endpointAddress.Uri;
Remarks
The URI identifies where a message is being sent. To set a URI for an endpoint address, use Uri.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.