Disposes of this web response supressing all errors that that might cause.

Namespace: W3CValidationTasks.Core
Assembly: W3CValidationTasks.Core (in W3CValidationTasks.Core.dll) Version: 1.1.1.40

Syntax

C#
public static void SafeDispose(
	this WebResponse webResponse
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub SafeDispose ( _
	webResponse As WebResponse _
)
Visual C++
[ExtensionAttribute]
public:
static void SafeDispose(
	WebResponse^ webResponse
)

Parameters

webResponse
Type: System.Net..::..WebResponse
This web response.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WebResponse. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also