This documentation is archived and is not being maintained.
OperationMessageCollection.Output Property
.NET Framework 1.1
Gets the first occurrence of an OperationOutput within the collection.
[Visual Basic] Public ReadOnly Property Output As OperationOutput [C#] public OperationOutput Output {get;} [C++] public: __property OperationOutput* get_Output(); [JScript] public function get Output() : OperationOutput;
Property Value
An OperationOutput.
Example
[Visual Basic] ' 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] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
OperationMessageCollection Class | OperationMessageCollection Members | System.Web.Services.Description Namespace
Show: