Freigeben über


OperationMessageCollection.Flow-Eigenschaft

Ruft den von der OperationMessageCollection unterstützten Übertragungstyp ab.

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)

Syntax

'Declaration
Public ReadOnly Property Flow As OperationFlow
'Usage
Dim instance As OperationMessageCollection
Dim value As OperationFlow

value = instance.Flow
public OperationFlow Flow { get; }
public:
property OperationFlow Flow {
    OperationFlow get ();
}
/** @property */
public OperationFlow get_Flow ()
public function get Flow () : OperationFlow

Eigenschaftenwert

Einer der OperationFlow-Werte. Der Standardwert ist SolicitResponse.

Beispiel

   ' Displays the properties of the OperationMessageCollection.
   Public Shared Sub DisplayFlowInputOutput(myOperationMessageCollection As  _
      OperationMessageCollection, myOperation As String)

      Console.WriteLine("After " & myOperation.ToString() & ":")
      Console.WriteLine("Flow : " & _
         myOperationMessageCollection.Flow.ToString())
      Console.WriteLine("The first occurrence of operation Input " & _
         "in the collection {0}" , myOperationMessageCollection.Input)
      Console.WriteLine("The first occurrence of operation Output " & _
         "in the collection " &  myOperationMessageCollection.Output.ToString())
      Console.WriteLine()
   End Sub 'DisplayFlowInputOutput
End Class 'MyOperationMessageCollectionSample 
// Displays the properties of the OperationMessageCollection.
public static void DisplayFlowInputOutput( OperationMessageCollection
   myOperationMessageCollection, string myOperation)
{
   Console.WriteLine("After " + myOperation + ":");
   Console.WriteLine("Flow : " + myOperationMessageCollection.Flow);
   Console.WriteLine("The first occurrence of operation Input " +
      "in the collection " + myOperationMessageCollection.Input);
   Console.WriteLine("The first occurrence of operation Output " +
      "in the collection " + myOperationMessageCollection.Output);
   Console.WriteLine();
}
// Displays the properties of the OperationMessageCollection.
void DisplayFlowInputOutput( OperationMessageCollection^ myOperationMessageCollection, String^ myOperation )
{
   Console::WriteLine( "After {0}:", myOperation );
   Console::WriteLine( "Flow : {0}", myOperationMessageCollection->Flow );
   Console::WriteLine( "The first occurrence of operation Input in the collection {0}", myOperationMessageCollection->Input );
   Console::WriteLine( "The first occurrence of operation Output in the collection {0}", myOperationMessageCollection->Output );
   Console::WriteLine();
}
// Displays the properties of the OperationMessageCollection.
public static void DisplayFlowInputOutput(
    OperationMessageCollection myOperationMessageCollection,
    String myOperation)
{
    Console.WriteLine("After " + myOperation + ":");
    Console.WriteLine("Flow : " + myOperationMessageCollection.get_Flow());
    Console.WriteLine("The first occurrence of operation Input " 
        + "in the collection " + myOperationMessageCollection.get_Input());
    Console.WriteLine("The first occurrence of operation Output " 
        + "in the collection " + myOperationMessageCollection.get_Output());
    Console.WriteLine();
} //DisplayFlowInputOutput

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

OperationMessageCollection-Klasse
OperationMessageCollection-Member
System.Web.Services.Description-Namespace