Compartilhar via


OperationBinding.Input Propriedade

Definição

Obtém ou define o InputBinding associado ao 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

Valor da propriedade

InputBinding

Um InputBinding associado ao OperationBinding.

Exemplos

// 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

Comentários

Um OperationBinding será associado a exatamente um InputBinding.

Aplica-se a