HttpRequest::HttpChannelBinding Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the ChannelBinding object of the current HttpWorkerRequest instance.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property ChannelBinding^ HttpChannelBinding {
	[PermissionSetAttribute(SecurityAction::Demand, Unrestricted = true)]
	ChannelBinding^ get();
}

Exception Condition
PlatformNotSupportedException

The current HttpWorkerRequest object is not a System.Web.Hosting.IIS7WorkerRequest object or a System.Web.Hosting.ISAPIWorkerRequestInProc object.

.NET Framework
Available since 2.0
Return to top
Show: