Edit

Share via


TestHttpResponseMessage.IsBlockedByEnvironment([Boolean]) Method

Version: Available or changed with runtime version 15.0.

Gets or sets a value that indicates if the HTTP response is the result of the environment blocking an outgoing HTTP request.

Syntax

IsBlockedByEnvironment :=   TestHttpResponseMessage.IsBlockedByEnvironment([SetIsBlockedByEnvironment: Boolean])

Note

This method can be invoked using property access syntax.

Parameters

TestHttpResponseMessage
 Type: TestHttpResponseMessage
An instance of the TestHttpResponseMessage data type.

[Optional] SetIsBlockedByEnvironment
 Type: Boolean
true if the HTTP response is the result of the environment blocking an outgoing HTTP request, otherwise false.

Return Value

IsBlockedByEnvironment
 Type: Boolean
true if the HTTP response is the result of the environment blocking an outgoing HTTP request, otherwise false.

TestHttpResponseMessage data type
Getting started with AL
Developing extensions