Поделиться через


OperationBinding.Input Свойство

Определение

Возвращает или задает объект InputBinding, связанный с объектом OperationBinding.

public:
 property System::Web::Services::Description::InputBinding ^ Input { System::Web::Services::Description::InputBinding ^ get(); void set(System::Web::Services::Description::InputBinding ^ value); };
public System.Web.Services.Description.InputBinding Input { get; set; }
member this.Input : System.Web.Services.Description.InputBinding with get, set
Public Property Input As InputBinding

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

Объект InputBinding, связанный с объектом OperationBinding.

Примеры

// Create an InputBinding for the Add operation.
InputBinding^ myInputBinding = gcnew InputBinding;
SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding;
mySoapBodyBinding->Use = SoapBindingUse::Literal;
myInputBinding->Extensions->Add( mySoapBodyBinding );

// Add the InputBinding to the OperationBinding.
addOperationBinding->Input = myInputBinding;
// Create an InputBinding for the Add operation.
InputBinding myInputBinding = new InputBinding();
SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding();
mySoapBodyBinding.Use = SoapBindingUse.Literal;
myInputBinding.Extensions.Add(mySoapBodyBinding);

// Add the InputBinding to the OperationBinding.
addOperationBinding.Input = myInputBinding;
' Create an InputBinding for the Add operation.
Dim myInputBinding As New InputBinding()
Dim mySoapBodyBinding As New SoapBodyBinding()
mySoapBodyBinding.Use = SoapBindingUse.Literal
myInputBinding.Extensions.Add(mySoapBodyBinding)

' Add the InputBinding to the OperationBinding.
addOperationBinding.Input = myInputBinding

Комментарии

Будет OperationBinding связан ровно с одним InputBinding.

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