StandardEndpointCollectionElement<TStandardEndpoint,TEndpointConfiguration>.TryAdd Method

Definition

Attempts to add an endpoint element to the collection of standard endpoints elements.

C#
protected internal override bool TryAdd(string name, System.ServiceModel.Description.ServiceEndpoint endpoint, System.Configuration.Configuration config);

Parameters

name
String

The identifier of the element to add to the collection.

endpoint
ServiceEndpoint

The endpoint element to add.

config
Configuration

The configuration file - not implemented.

Returns

true if the element was added to the collection; otherwise, false.

Applies to

Ürün Sürümler
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1