System.Runtime.Remoting.Channels.Http

  • Thread starter Thread starter Knut Vonheim
  • Start date Start date
K

Knut Vonheim

For some reason I cannot access this in CSharp - neither with using or
directly in the code?

System.Runtime.Remoting.Channels on the other hand is fine, but no
Http.anything works.

Any thoughts, helps, guidance, hints, or pointers are greatly appreciated!!

Regards,

Knut Vonheim
(e-mail address removed)
 
Knut Vonheim said:
For some reason I cannot access this in CSharp - neither with using or
directly in the code?

System.Runtime.Remoting.Channels on the other hand is fine, but no
Http.anything works.

Any thoughts, helps, guidance, hints, or pointers are greatly
appreciated!!

Are you referencing the System.Runtime.Remoting dll in your project?
 
Hello Knut,

Thanks for posting in the group.

Based on my understand, now the problem is: You can't access any classes
such as HttpChannel in csharp code. Please feel free to post here if I have
anything misunderstanding.

In MSDN, we can see that HTTPChannel is in a different namespace. Its
namespace is System.Runtime.Remoting.Channels.Http, not
System.Runtime.Remoting.Channels. So we need to add
"using System.Runtime.Remoting.Channels.Http" in the code.

Also, be remember to add reference to System.Runtime.Remoting.dll in the
project.

Does that answer your question? If the problem is not resolved, please feel
free to post here.

Ps: We could send post notification email to you when there is any useful
reply to your question in the newsgroup. If you want to receive it, please
go to
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn to create a no spam email address. Thanks very much.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
I had the right NameSpace but was unaware it was in a different dll. Once I
added a reference to the correct dll everything ran like a charm.

Cheers,
Knut
 
Hi Knut,

I am glad to hear it. :)

Thanks again for participating the community.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top