BindingContext.ListenUriMode 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 or sets a value that indicates whether the transport must ensure that the URI provided for the service to listen on is unique.
public:
property System::ServiceModel::Description::ListenUriMode ListenUriMode { System::ServiceModel::Description::ListenUriMode get(); void set(System::ServiceModel::Description::ListenUriMode value); };
public System.ServiceModel.Description.ListenUriMode ListenUriMode { get; set; }
member this.ListenUriMode : System.ServiceModel.Description.ListenUriMode with get, set
Public Property ListenUriMode As ListenUriMode
Property Value
The ListenUriMode that indicates whether the transport must ensure that the URI provided for the service to listen on is unique.
Examples
CustomBinding binding = new CustomBinding();
BindingParameterCollection bpCol = new BindingParameterCollection();
BindingContext context = new BindingContext(binding, bpCol);
ListenUriMode mode = context.ListenUriMode;
Dim binding As New CustomBinding()
Dim bpCol As New BindingParameterCollection()
Dim context As New BindingContext(binding, bpCol)
Dim mode As ListenUriMode = context.ListenUriMode
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.