PackWebResponse Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a response of a PackWebRequest.
public ref class PackWebResponse sealed : System::Net::WebResponse
public sealed class PackWebResponse : System.Net.WebResponse
type PackWebResponse = class
inherit WebResponse
Public NotInheritable Class PackWebResponse
Inherits WebResponse
- Inheritance
- Inheritance
When you use the pack URI protocol, you can reference a package and its part elements either locally from inside a package or externally from a Web source.
For the pack URI protocol, the forward-slash characters (//) of an embedded uniform resource identifier (URI) are represented by commas (,,). For example: pack://http:,,www.adatum.com,folder,file.package/images/picture1.jpg
references the file /images/picture1.jpg
that is contained in http://www.adatum.com/folder/file.package
.
Content |
Gets the content length of the response. |
Content |
Gets the Multipurpose Internet Mail Extensions (MIME) content type of the response stream's content. |
Headers |
Gets the collection of Web Headers for this response. |
Inner |
Gets the inner WebResponse object for the response. |
Is |
Gets a value indicating whether the response is from the package cache or from a Web request. |
Is |
Gets a Boolean value that indicates whether mutual authentication occurred. (Inherited from WebResponse) |
Response |
Gets the uniform resource identifier (URI) of the response. |
Supports |
Gets a value that indicates if headers are supported. (Inherited from WebResponse) |
Close() |
Closes the stream for this request. |
Create |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject) |
Dispose() |
Releases the unmanaged resources used by the WebResponse object. (Inherited from WebResponse) |
Dispose(Boolean) |
Releases the unmanaged resources used by the WebResponse object, and optionally disposes of the managed resources. (Inherited from WebResponse) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Obsolete.
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
Get |
Obsolete.
Populates a SerializationInfo with the data that is needed to serialize the target object. (Inherited from WebResponse) |
Get |
Gets the response stream that is contained in the PackWebResponse. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Initialize |
Obsolete.
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject) |
To |
Returns a string that represents the current object. (Inherited from Object) |
IDisposable. |
When overridden in a derived class, releases all resources used by the WebResponse. (Inherited from WebResponse) |
ISerializable. |
Obsolete.
Populates a SerializationInfo instance with the data that is needed to serialize WebResponse. (Inherited from WebResponse) |
Vara | Útgáfur |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET umsögn
.NET er opið verkefni. Veldu tengil til að gefa umsögn: