Opc.Ua.Core
CreateResponse(RequestHeader,UInt32) Method



Opc.Ua Namespace > ServerBase Class > CreateResponse Method : CreateResponse(RequestHeader,UInt32) Method
The object that contains description for the RequestHeader DataType.
The status code.
Creates the response header.
Syntax
'Declaration
 
Protected Overloads Overridable Function CreateResponse( _
   ByVal requestHeader As RequestHeader, _
   ByVal statusCode As UInteger _
) As ResponseHeader
'Usage
 
Dim instance As ServerBase
Dim requestHeader As RequestHeader
Dim statusCode As UInteger
Dim value As ResponseHeader
 
value = instance.CreateResponse(requestHeader, statusCode)
protected virtual ResponseHeader CreateResponse( 
   RequestHeader requestHeader,
   uint statusCode
)
protected:
virtual ResponseHeader^ CreateResponse( 
   RequestHeader^ requestHeader,
   uint statusCode
) 

Parameters

requestHeader
The object that contains description for the RequestHeader DataType.
statusCode
The status code.

Return Value

Returns a description for the ResponseHeader DataType.
Exceptions
ExceptionDescription
If statusCode is bad.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ServerBase Class
ServerBase Members
Overload List