StandardEndpointCollectionElement<TStandardEndpoint,TEndpointConfiguration>.TryAdd 메서드

정의

엔드포인트 요소를 표준 엔드포인트 요소 컬렉션에 추가합니다.

protected public:
 override bool TryAdd(System::String ^ name, System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::Configuration::Configuration ^ config);
protected internal override bool TryAdd (string name, System.ServiceModel.Description.ServiceEndpoint endpoint, System.Configuration.Configuration config);
override this.TryAdd : string * System.ServiceModel.Description.ServiceEndpoint * System.Configuration.Configuration -> bool
Protected Friend Overrides Function TryAdd (name As String, endpoint As ServiceEndpoint, config As Configuration) As Boolean

매개 변수

name
String

컬렉션에 추가할 요소의 식별자입니다.

endpoint
ServiceEndpoint

추가할 엔드포인트 요소입니다.

config
Configuration

구현되지 않은 구성 파일입니다.

반환

Boolean

요소가 컬렉션에 추가되었으면 true이고, 그렇지 않으면 false입니다.

적용 대상