Export (0) Print
Expand All

BindingContext.ListenUriMode Property

Gets or sets a value that indicates whether the transport must ensure that the URI provided for the service to listen on is unique.

Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in system.servicemodel.dll)

public ListenUriMode ListenUriMode { get; set; }
/** @property */
public ListenUriMode get_ListenUriMode ()

/** @property */
public void set_ListenUriMode (ListenUriMode value)

public function get ListenUriMode () : ListenUriMode

public function set ListenUriMode (value : ListenUriMode)

Not applicable.

Property Value

The ListenUriMode that indicates whether the transport must ensure that the URI provided for the service to listen on is unique.

CustomBinding binding = new CustomBinding();
BindingParameterCollection bpCol = new BindingParameterCollection();
BindingContext context = new BindingContext(binding, bpCol);
ListenUriMode mode = context.ListenUriMode;

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft