AddressingHeaders.SetResponseHeaders Method
Sets the addressing headers for a normal response based on the specified source AddressingHeaders.
Namespace: Microsoft.Web.Services3.Addressing
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim source As AddressingHeaders
Dim addressingHeaders1 As AddressingHeaders
addressingHeaders1.SetResponseHeaders(source)
Syntax
'Declaration
Public Sub SetResponseHeaders( _
ByVal source As AddressingHeaders _
)
public void SetResponseHeaders(
AddressingHeaders source
);
public:
void SetResponseHeaders(
AddressingHeaders^ source
);
public void SetResponseHeaders(
AddressingHeaders source
);
public function SetResponseHeaders(
source : AddressingHeaders
) : Void;
Parameters
- source
An AddressingHeaders instance containing the source headers to add to this SetResponseHeaders instance.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | source is null. |
Remarks
SetResponseHeaders will set the value of the Action , Destination , From , and RelatesTo properties of the current AddressingHeaders instance provided that they are not yet specified.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
AddressingHeaders Class
AddressingHeaders Members
Microsoft.Web.Services3.Addressing Namespace