ServiceContractGenerator.GenerateServiceEndpoint Yöntem

Tanım

Belirtilen ServiceEndpoint örnekten bir hizmet sözleşmesi türü ve uç nokta yapılandırması oluşturur.

public:
 System::CodeDom::CodeTypeReference ^ GenerateServiceEndpoint(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, [Runtime::InteropServices::Out] System::ServiceModel::Configuration::ChannelEndpointElement ^ % channelElement);
public System.CodeDom.CodeTypeReference GenerateServiceEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint, out System.ServiceModel.Configuration.ChannelEndpointElement channelElement);
member this.GenerateServiceEndpoint : System.ServiceModel.Description.ServiceEndpoint * ChannelEndpointElement -> System.CodeDom.CodeTypeReference
Public Function GenerateServiceEndpoint (endpoint As ServiceEndpoint, ByRef channelElement As ChannelEndpointElement) As CodeTypeReference

Parametreler

endpoint
ServiceEndpoint

ServiceEndpoint Sözleşme türünü oluşturmak için kullanılacak.

channelElement
ChannelEndpointElement

Oluşturulan uç nokta yapılandırması.

Döndürülenler

CodeTypeReference

CodeTypeReference Oluşturulan sözleşme türü için bir örnek.

Açıklamalar

Diğer kod yapıtları da özelliği kullanılarak ServiceContractGenerator.Options belirtildiği gibi oluşturulabilir.

Şunlara uygulanır