Creates a response to this message with the specified status code.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Function CreateResponse ( _ statusCode As Integer _ ) As Response |
Visual Basic (usage) |
---|
Dim instance As Request Dim statusCode As Integer Dim returnValue As Response returnValue = instance. CreateResponse( statusCode) |
C# |
---|
public Response CreateResponse( int statusCode ) |
Parameters
- statusCode
- Type:
System
.
.
::
.
.
Int32
Remarks
A Response object contains a specific status code that is sent to the client transaction, and it indicates the status of the request.