编译器错误消息:CS0103:当前上下文中不存在名称“CookieManager” [英] Compiler Error Message: CS0103: The name 'CookieManager' does not exist in the current context

查看:480
本文介绍了编译器错误消息:CS0103:当前上下文中不存在名称“CookieManager”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我需要一些帮助。我收到以下错误。任何帮助将不胜感激。 

Hello, I need some help. I got the following error. Any help will be greatly appreciated. 

Line 119:        string url = Request.Url.LocalPath.Substring(Request.Url.LocalPath.LastIndexOf("/") + 1);
Line 120:        string cookieUrl = CookieManager.ReadCookies(Response, Request, Server, "cookieUrl");
Line 121:        foreach (XmlNode node in d.DocumentElement.ChildNodes)
Line 122:        {




推荐答案

您好Georgexu8,

Hi Georgexu8,

感谢您发布此处。

对于您的问题,  编译器错误CS0103是由您使用的
名称引起的,该名称不存在于类,命名空间或范围。检查名称的拼写并检查您的using指令和程序集引用,以确保您尝试使用的名称可用。

For your question, the Compiler Error CS0103 is caused by the name you used that does not exist in the class, namespace, or scope. Check the spelling of the name and check your using directives and assembly references to make sure that the name that you are trying to use is available.

请检查它。

最好的问候,

Wendy


这篇关于编译器错误消息:CS0103:当前上下文中不存在名称“CookieManager”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆