次の方法で共有


OperationMessageCollection.Flow プロパティ

OperationMessageCollection でサポートされる伝送の種類を取得します。

Public ReadOnly Property Flow As OperationFlow
[C#]
public OperationFlow Flow {get;}
[C++]
public: __property OperationFlow get_Flow();
[JScript]
public function get Flow() : OperationFlow;

プロパティ値

OperationFlow 値の 1 つ。既定値は SolicitResponse です。

使用例

 
' 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 

[C#] 
// 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();
}

[C++] 
// Displays the properties of the OperationMessageCollection.
void DisplayFlowInputOutput( OperationMessageCollection* myOperationMessageCollection, String* myOperation)
{
   Console::WriteLine(S"After {0}:", myOperation);
   Console::WriteLine(S"Flow : {0}", __box(myOperationMessageCollection->Flow));
   Console::WriteLine(S"The first occurrence of operation Input in the collection {0}", myOperationMessageCollection->Input );
   Console::WriteLine(S"The first occurrence of operation Output in the collection {0}", myOperationMessageCollection->Output );
   Console::WriteLine();
}

[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン 言語のフィルタ をクリックします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

OperationMessageCollection クラス | OperationMessageCollection メンバ | System.Web.Services.Description 名前空間