Export (0) Print
Expand All

PackWebRequest Members

Makes a request to an entire PackagePart or to a PackagePart in a package, identified by a pack URI.

The PackWebRequest type exposes the following members.

  NameDescription
Public method Abort Aborts the Request (Inherited from WebRequest.)
Public method BeginGetRequestStream When overridden in a descendant class, provides an asynchronous version of the GetRequestStream method. (Inherited from WebRequest.)
Public method BeginGetResponse When overridden in a descendant class, begins an asynchronous request for an Internet resource. (Inherited from WebRequest.)
Public method 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.)
Public method EndGetRequestStream When overridden in a descendant class, returns a Stream for writing data to the Internet resource. (Inherited from WebRequest.)
Public method EndGetResponse When overridden in a descendant class, returns a WebResponse. (Inherited from WebRequest.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetInnerRequest Gets the inner WebRequest.
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetObjectData Infrastructure. Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from WebRequest.)
Public method GetRequestStream Do not use—GetRequestStream is not supported by PackWebRequest. (Overrides WebRequest.GetRequestStream().)
Public method GetResponse Returns the response stream for the request. (Overrides WebRequest.GetResponse().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Overloaded.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property AuthenticationLevel Gets or sets values indicating the level of authentication and impersonation used for this request. (Inherited from WebRequest.)
Public property CachePolicy Gets or sets the RequestCachePolicy. (Overrides WebRequest.CachePolicy.)
Public property ConnectionGroupName Gets or sets the name of the connection group. (Overrides WebRequest.ConnectionGroupName.)
Public property ContentLength Gets or sets the Content-length HTTP header. (Overrides WebRequest.ContentLength.)
Public property ContentType Gets or sets the Content-type HTTP header. (Overrides WebRequest.ContentType.)
Public property Credentials Gets or sets the authentication credentials. (Overrides WebRequest.Credentials.)
Public property Headers Gets or sets the collection of header name/value pairs associated with the request. (Overrides WebRequest.Headers.)
Public property ImpersonationLevel Gets or sets the impersonation level for the current request. (Inherited from WebRequest.)
Public property Method Gets or sets the protocol method to use with the pack URI request. (Overrides WebRequest.Method.)
Public property PreAuthenticate Gets or sets a value that indicates whether to preauthenticate the request. (Overrides WebRequest.PreAuthenticate.)
Public property Proxy Gets or sets the network proxy for Internet access. (Overrides WebRequest.Proxy.)
Public property RequestUri Gets the URI of the resource associated with the request. (Overrides WebRequest.RequestUri.)
Public property Timeout Gets or sets the length of time before the request times out. (Overrides WebRequest.Timeout.)
Public property UseDefaultCredentials Gets or sets the default authentication credentials. (Overrides WebRequest.UseDefaultCredentials.)
Top

  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. When overridden in a descendant class, populates a SerializationInfo instance with the data needed to serialize the WebRequest. (Inherited from WebRequest.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft