.NET Framework Class Library
ClientBase<(Of <(TChannel>)>)..::.Close Method

Causes the ClientBase<(Of <(TChannel>)>) object to transition from its current state into the closed state.

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

Visual Basic (Declaration)
Public Sub Close
Visual Basic (Usage)
Dim instance As ClientBase

instance.Close()
C#
public void Close()
Visual C++
public:
virtual void Close() sealed
JScript
public final function Close()

Implements

ICommunicationObject..::.Close()()()
Remarks

For more information, see System.ServiceModel.Channels..::.CommunicationObject.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Community Content

David M. Kean - MSFT
Throws CommunicationObjectFaultedException when ClientBase is an faulted state
This method throws a CommunicationObjectFaultedException when ClientBase is an faulted state, ie ClientBase<TChannel>.State == CommunicationState.Faulted.
Tags : contentbug

Page view tracker