Which of the following is not a member of Response Object ?
-
Clear
-
Write
-
Execute
-
Flush
The Response object in ASP.NET includes Clear, Write, Flush, Redirect, and End methods, but Execute is not a member. Execute is actually a method of the Server object (Server.Execute) which transfers execution to another page. The Response object handles sending output to the client, while Server.Execute handles page transfer. This distinction is important for understanding ASP.NET's object model.
To answer this question, we need to understand the concept of a "Response object" and the methods that can be performed on it.
Option A) Clear - This option is incorrect because the Clear method is commonly used to remove any previously set headers or content from the response object.
Option B) Write - This option is incorrect because the Write method is commonly used to write content to the response object.
Option C) Execute - This option is correct because the Execute method is not typically a member of the Response object. The Execute method is not a standard method that is commonly used to interact with the response object.
Option D) Flush - This option is incorrect because the Flush method is commonly used to send any buffered response data to the client.
The correct answer is C) Execute. This option is not a member of the Response object.