3 writes to listenUri
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\UdpChannelListener.cs (3)
515
this.
listenUri
= UdpUtility.AppendRelativePath(listenUriBaseAddress, relativeAddress);
642
this.
listenUri
= uriBuilder.Uri;
658
this.
listenUri
= UdpUtility.AppendRelativePath(listenUriBaseAddress, Guid.NewGuid().ToString());
13 references to listenUri
System.ServiceModel.Channels (13)
System\ServiceModel\Channels\UdpChannelListener.cs (13)
80
Fx.Assert(!this.
listenUri
.IsDefaultPort, "Listen Uri's port should never be the default port: " + this.
listenUri
);
95
return this.
listenUri
;
530
int port = (this.
listenUri
.IsDefaultPort ? 0 : this.
listenUri
.Port);
532
if (this.
listenUri
.HostNameType == UriHostNameType.IPv6 ||
533
this.
listenUri
.HostNameType == UriHostNameType.IPv4)
535
UdpUtility.ThrowOnUnsupportedHostNameType(this.
listenUri
);
537
IPAddress address = IPAddress.Parse(this.
listenUri
.DnsSafeHost);
566
else if (this.
listenUri
.HostNameType == UriHostNameType.IPv6)
596
throw FxTrace.Exception.AsError(new ArgumentException(SR.UdpFailedToFindMulticastAdapter(this.
listenUri
)));
638
if (updateListenPort && port != this.
listenUri
.Port)
640
UriBuilder uriBuilder = new UriBuilder(this.
listenUri
);