EndpointAddress.NoneUri 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 a version-neutral URI used for the address of an endpoint to which a message must not be sent.
public:
static property Uri ^ NoneUri { Uri ^ get(); };
public static Uri NoneUri { get; }
static member NoneUri : Uri
Public Shared ReadOnly Property NoneUri As Uri
Property Value
A Uri with the value http://schemas.microsoft.com/2005/12/ServiceModel/Addressing/None
.
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.NoneUri;
Remarks
If the value of the URI used to initialize the constructor is the NoneUri, then IsNone is set to true
.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.