AllowInitializationUI Property
Collapse the table of content
Expand the table of content

IClientChannel.AllowInitializationUI Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a value that indicates whether DisplayInitializationUI can invoke the interactive channel initializers or throws an exception if that collection is not empty.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Property AllowInitializationUI As Boolean

Property Value

Type: System.Boolean
true if Windows Communication Foundation (WCF) is permitted to invoke interactive channel initializers; otherwise, false.

Set this to false if you want to throw an exception rather than display an initialization dialog. This is useful in a middle-tier scenario in which you want to guarantee that no dialog appears even if the application is configured to display one.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft