The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ChannelFactory::InitializeEndpoint Method (ServiceEndpoint^)
.NET Framework (current version)
Initializes the service endpoint of the channel factory with a specified endpoint.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- endpoint
-
Type:
System.ServiceModel.Description::ServiceEndpoint^
The ServiceEndpoint to initialize the channel factory with.
| Exception | Condition |
|---|---|
| ArgumentNullException | endpoint is null. |
Use InitializeEndpoint(Binding^, EndpointAddress^) if you have just the binding. Use InitializeEndpoint(String^, EndpointAddress^) if you have the configuration.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Show: