SoapMessage.Stage Property
.NET Framework (current version)
Gets the SoapMessageStage of the SoapMessage.
Assembly: System.Web.Services (in System.Web.Services.dll)
Property Value
Type: System.Web.Services.Protocols.SoapMessageStageThe SoapMessageStage of the SoapMessage.
The Stage property can be accessed at any SoapMessageStage.
The following code example demonstrates how to determine the SoapMessageStage within the SoapExtension.ProcessMessage method.
Public Overrides Sub ProcessMessage(message As SoapMessage) Select Case message.Stage Case SoapMessageStage.BeforeSerialize Case SoapMessageStage.AfterSerialize WriteOutput(message) Case SoapMessageStage.BeforeDeserialize WriteInput(message) Case SoapMessageStage.AfterDeserialize End Select End Sub
.NET Framework
Available since 1.1
Available since 1.1
Show: