Represents a response of a PackWebRequest.
Assembly: PresentationCore (in PresentationCore.dll)
Thetype exposes the following members.
|ContentLength||Gets the content length of the response. (Overrides WebResponse.ContentLength.)|
|ContentType||Gets the Multipurpose Internet Mail Extensions (MIME) content type of the response stream's content. (Overrides WebResponse.ContentType.)|
|Headers||Gets the collection of Web Headers for this response. (Overrides WebResponse.Headers.)|
|InnerResponse||Gets the inner WebResponse object for the response.|
|IsFromCache||Gets a value indicating whether the response is from the package cache or from a Web request. (Overrides WebResponse.IsFromCache.)|
|IsMutuallyAuthenticated||Gets a Boolean value that indicates whether mutual authentication occurred. (Inherited from WebResponse.)|
|ResponseUri||Gets the uniform resource identifier (URI) of the response. (Overrides WebResponse.ResponseUri.)|
|Close||Closes the stream for this request. (Overrides WebResponse.Close.)|
|CreateObjRef||Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetLifetimeService||Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|GetObjectData||Infrastructure. Populates a SerializationInfo with the data that is needed to serialize the target object. (Inherited from WebResponse.)|
|GetResponseStream||Gets the response stream that is contained in the . (Overrides WebResponse.GetResponseStream.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|InitializeLifetimeService||Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|MemberwiseClone(Boolean)||Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|IDisposable.Dispose||Infrastructure. When overridden in a derived class, releases all resources used by the WebResponse. (Inherited from WebResponse.)|
|ISerializable.GetObjectData||Infrastructure. Populates a SerializationInfo instance with the data that is needed to serialize WebResponse. (Inherited from WebResponse.)|
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.
Windows 7, Windows Vista SP1 or later, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.