MessageCollection.Add Method (Message)
.NET Framework (current version)
Adds the specified Message to the end of the MessageCollection.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- message
-
Type:
System.Web.Services.Description.Message
The Message to add to the collection.
Dim myMessage As New Message() myMessage.Name = "AddSoapOut" Dim myMessagePart As New MessagePart() myMessagePart.Name = "parameters" myMessagePart.Element = New XmlQualifiedName("AddResponse", _ myServiceDescription.TargetNamespace) myMessage.Parts.Add(myMessagePart) myServiceDescription.Messages.Add(myMessage)
.NET Framework
Available since 1.1
Available since 1.1
Show: