| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim instance As ITransportChannel Dim url As Uri Dim settings As TransportChannelSettings instance.Initialize(url, settings) | |
| C# | |
|---|---|
| void Initialize( Uri url, TransportChannelSettings settings ) | |
Parameters
- url
- The URL for the endpoint.
- settings
- The settings to use when creating the channel.
| Exception | Description | 
|---|---|
| ServiceResultException | Thrown if any communication error occurs. | 
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    
    