CookieException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 CookieException 类的新实例。
重载
CookieException() |
初始化 CookieException 类的新实例。 |
CookieException(SerializationInfo, StreamingContext) |
已过时.
使用 |
CookieException()
- Source:
- CookieException.cs
- Source:
- CookieException.cs
- Source:
- CookieException.cs
初始化 CookieException 类的新实例。
public:
CookieException();
public CookieException ();
Public Sub New ()
注解
的 CookieException无参数构造函数。
另请参阅
适用于
CookieException(SerializationInfo, StreamingContext)
- Source:
- CookieException.cs
- Source:
- CookieException.cs
- Source:
- CookieException.cs
注意
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
使用 serializationInfo
和 streamingContext
的特定值初始化 CookieException 类的新实例。
protected:
CookieException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected CookieException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected CookieException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Net.CookieException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.CookieException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Net.CookieException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.CookieException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
参数
- serializationInfo
- SerializationInfo
要使用的 SerializationInfo。
- streamingContext
- StreamingContext
要使用的 StreamingContext。
- 属性
注解
允许设置自定义序列化。