ServiceContractGenerator.GenerateServiceEndpoint Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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 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.