System.ServiceModel 4.0.0.0 ReferenceTypeConstraint System.Delegate `` `` `` System.IAsyncResult To be added. To be added. To be added. To be added.

Extend the class to create a custom indigo2 client object that can be used to connect to a service. Typically, the indigo2 client base class is extended by a tool such as the ServiceModel Metadata Utility Tool (Svcutil.exe) on your behalf. For an example, see the Example section.

The class can be used quickly and easily by developers who prefer objects to the use of the interfaces and the class. In all cases this class wraps or exposes the methods and functionality of the class and the interface.

As when using the class, you can create the class and modify the endpoint, channel factory, or security information prior to making any calls or calling . crdefault WCF Client Overview and Accessing Services Using a WCF Client.

Special note for Managed C++ users deriving from this class:

Put your clean-up code in (On)(Begin)Close (and/or OnAbort), not in a destructor.

Avoid destructors: they cause the compiler to auto-generate .

Avoid non-reference members: they can cause the compiler to auto-generate .

Avoid finalizers; but if you include one, you should suppress the build warning and call and the finalizer itself from (On)(Begin)Close (and/or OnAbort) to emulate what would have been the auto-generated behavior.

Provides the base implementation used to create indigo1 client objects that can call services.