| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim instance As ITransportChannel Dim result As IAsyncResult instance.EndClose(result) | |
| C# | |
|---|---|
| void EndClose( IAsyncResult result ) | |
Parameters
- result
- The result returned from the BeginClose call.
| Exception | Description | 
|---|---|
| ServiceResultException | Thrown if any communication error occurs. | 
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    
    