System.ServiceModel 4.0.0.0 Implement the interface to enable a client application to display a user interface that enables the user of the application to create or select the credentials prior to opening a channel. To implement , perform the following steps in : Prompt the user and obtain an appropriate . Add a custom channel parameter object to the collection returned by the method on the object with a type parameter of . This channel parameter object is used by the custom to establish the security tokens for the channel. Return. To insert : Override the method on the class. In that method, determine whether the endpoint requires an and if so, add the to the collection. There are two ways application developers can make use of an inserted . The client application can call either or (or an asynchronous version) prior to opening the channel (the explicit approach) or simply call the first operation (the implicit approach). If using the implicit approach, the application must call the first operation on an or extension. If it calls anything other than the first operation, an exception is thrown. If using the explicit approach, the application must perform the following steps in order: Call either or (or an asynchronous version). When the initializers have returned, call either the method on the object or on the object returned from the property. Call operations. It is recommended that production-quality applications control of the user-interface process by adopting the explicit approach. Applications that use the implicit approach invoke the user-interface initializers, but if the user of the application fails to respond within the send timeout period of the binding, an exception is thrown when the user interface returns. Defines the methods that enable a client application to display a user interface to collect identity information prior to creating the channel. Method 4.0.0.0 System.IAsyncResult To implement , perform the following steps in : Prompt the user in what way you see fit and obtain an appropriate . Add a custom channel parameter object to the collection returned by the method on the object with a type parameter of . This channel parameter object is used by the custom to establish the security tokens for the channel. Return. An asynchronous call to begin using a user interface to obtain credential information. The to use to call back when processing has completed. The client channel. The callback object. Any state data. Method 4.0.0.0 System.Void To be added. Called when the has finished. The .