SoapMessage.OneWay Özellik

Tanım

XML Web hizmeti yöntemine OneWay uygulanan veya SoapDocumentMethodAttribute özniteliğinin SoapRpcMethodAttribute özelliğini gösteren bir değer alır.

public:
 abstract property bool OneWay { bool get(); };
public abstract bool OneWay { get; }
member this.OneWay : bool
Public MustOverride ReadOnly Property OneWay As Boolean

Özellik Değeri

true OneWay XML Web hizmeti yöntemine SoapDocumentMethodAttributeuygulanan veya SoapRpcMethodAttribute özelliğinin true ; değilse, false.

Örnekler

if ( message->OneWay )
{
   myStreamWriter->WriteLine(
      "The method invoked on the client shall not wait"
      + " till the server finishes" );
}
else
{
   myStreamWriter->WriteLine(
      "The method invoked on the client shall wait"
      + " till the server finishes" );
}
if(message.OneWay)
   myStreamWriter.WriteLine(
      "The method invoked on the client shall not wait"
      + " till the server finishes");
else
   myStreamWriter.WriteLine(
      "The method invoked on the client shall wait"
      + " till the server finishes");
If message.OneWay Then
   myStreamWriter.WriteLine( _
      "The method invoked on the client shall not wait" & _
      " till the server finishes")
Else
   myStreamWriter.WriteLine( _
      "The method invoked on the client shall wait" & _
      " till the server finishes")
End If

Açıklamalar

SoapDocumentMethodAttribute.OneWay Tek yönlü XML Web hizmeti yöntemleri hakkında ayrıntılı bilgi için veya SoapDocumentMethodAttribute özelliğine SoapRpcMethodAttribute bakın.

özelliğine OneWay tüm aşamalarında SoapMessageStageerişilebilir.

Şunlara uygulanır

Ayrıca bkz.