PackWebResponse Class

PackWebResponse Class

 

Represents a response of a PackWebRequest.

Namespace:   System.IO.Packaging
Assembly:  PresentationCore (in PresentationCore.dll)

System.Object
  System.MarshalByRefObject
    System.Net.WebResponse
      System.IO.Packaging.PackWebResponse

public sealed class PackWebResponse : WebResponse

NameDescription
System_CAPS_pubpropertyContentLength

Gets the content length of the response. (Overrides WebResponse.ContentLength.)

System_CAPS_pubpropertyContentType

Gets the Multipurpose Internet Mail Extensions (MIME) content type of the response stream's content. (Overrides WebResponse.ContentType.)

System_CAPS_pubpropertyHeaders

Gets the collection of Web Headers for this response. (Overrides WebResponse.Headers.)

System_CAPS_pubpropertyInnerResponse

Gets the inner WebResponse object for the response.

System_CAPS_pubpropertyIsFromCache

Gets a value indicating whether the response is from the package cache or from a Web request. (Overrides WebResponse.IsFromCache.)

System_CAPS_pubpropertyIsMutuallyAuthenticated

Gets a Boolean value that indicates whether mutual authentication occurred.(Inherited from WebResponse.)

System_CAPS_pubpropertyResponseUri

Gets the uniform resource identifier (URI) of the response. (Overrides WebResponse.ResponseUri.)

System_CAPS_pubpropertySupportsHeaders

Gets a value that indicates if headers are supported.(Inherited from WebResponse.)

NameDescription
System_CAPS_pubmethodClose()

Closes the stream for this request. (Overrides WebResponse.Close().)

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases the unmanaged resources used by the WebResponse object.(Inherited from WebResponse.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetResponseStream()

Gets the response stream that is contained in the PackWebResponse. (Overrides WebResponse.GetResponseStream().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. 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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft