Compartir a través de


Operation.IsBoundBy(OperationBinding) Método

Definición

Devuelve un valor que indica si el ensamblado especificado OperationBinding coincide con el ensamblado Operation.

public:
 bool IsBoundBy(System::Web::Services::Description::OperationBinding ^ operationBinding);
public bool IsBoundBy (System.Web.Services.Description.OperationBinding operationBinding);
member this.IsBoundBy : System.Web.Services.Description.OperationBinding -> bool
Public Function IsBoundBy (operationBinding As OperationBinding) As Boolean

Parámetros

operationBinding
OperationBinding

OperationBinding que se va a comprobar para determinar si coincide conOperation.

Devoluciones

Boolean

Es true si la instancia de Operation coincide con el parámetro operationBinding; en caso contrario, es false.

Ejemplos

En el ejemplo siguiente se muestra un uso típico del IsBoundBy método .

Operation^ myPostOperation = gcnew Operation;
myPostOperation->Name = myOperationBinding->Name;
Console::WriteLine( "'Operation' instance uses 'OperationBinding': {0}",
   myPostOperation->IsBoundBy( myOperationBinding ) );
Operation myPostOperation = new Operation();
myPostOperation.Name = myOperationBinding.Name;
Console.WriteLine("'Operation' instance uses 'OperationBinding': "
   +myPostOperation.IsBoundBy(myOperationBinding));
Dim myPostOperation As New Operation()
myPostOperation.Name = myOperationBinding.Name
Console.WriteLine("'Operation' instance uses 'OperationBinding': " + _
                           myPostOperation.IsBoundBy(myOperationBinding).ToString())

Se aplica a