OperationBinding.Extensions Свойство

Определение

Получает коллекцию элементов расширения среды, заданных для текущего OperationBinding.

public:
 property System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ Extensions { System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ get(); };
public:
 virtual property System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ Extensions { System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ get(); };
public System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get; }
public override System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get; }
member this.Extensions : System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection
Public ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection
Public Overrides ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection

Значение свойства

ServiceDescriptionFormatExtensionCollection

Коллекция элементов расширяемости.

Примеры

// Create an extensibility element for a SoapOperationBinding.
SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding;
mySoapOperationBinding->Style = SoapBindingStyle::Document;
mySoapOperationBinding->SoapAction = String::Concat( myTargetNamespace, addOperation );

// Add the extensibility element SoapOperationBinding to 
// the OperationBinding.
addOperationBinding->Extensions->Add( mySoapOperationBinding );
// Create an extensibility element for a SoapOperationBinding.
SoapOperationBinding mySoapOperationBinding =
   new SoapOperationBinding();
mySoapOperationBinding.Style = SoapBindingStyle.Document;
mySoapOperationBinding.SoapAction = myTargetNamespace + addOperation;

// Add the extensibility element SoapOperationBinding to
// the OperationBinding.
addOperationBinding.Extensions.Add(mySoapOperationBinding);
' Create an extensibility element for a SoapOperationBinding.
Dim mySoapOperationBinding As New SoapOperationBinding()
mySoapOperationBinding.Style = SoapBindingStyle.Document
mySoapOperationBinding.SoapAction = myTargetNamespace & addOperation

' Add the extensibility element SoapOperationBinding to 
' the OperationBinding.
addOperationBinding.Extensions.Add(mySoapOperationBinding)

Комментарии

Дополнительные сведения о языке описания веб-служб (WSDL) см. в спецификации WSDL .

Применяется к