Visual Basic (Declaration) | |
---|---|
Public Property UriOperationProxy As IWebProxy |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterCodecs Dim value As IWebProxy instance.UriOperationProxy = value value = instance.UriOperationProxy |
C# | |
---|---|
public IWebProxy UriOperationProxy {get; set;} |
C++/CLI | |
---|---|
public: property IWebProxy^ UriOperationProxy { IWebProxy^ get(); void set ( IWebProxy^ value); } |
Property Value
The System.Net.IWebProxy object to use to proxy URI-based operation. The default is a null reference (Nothing in Visual Basic).For an example, refer to Save(RasterImage image, Uri uri, RasterImageFormat format, int bitsPerPixel, int firstPage, int lastPage).
The UriOperationProxy property identifies the System.Net.WebProxy object to use to process requests to Internet resources.
To override the default proxy to use when accessing a remote resource, you must change the value of the UriOperationProxy property prior to calling any of these methods:
- GetInformation(Uri uri, bool totalPages)
- GetInformation(Uri uri, bool totalPages, int pageNumber)
- GetInformation(Uri uri, bool totalPages, int pageNumber, object userState)
- Load(Uri uri)
- Load(Uri uri, int bitsPerPixel, CodecsLoadByteOrder order, int firstPage, int lastPage)
- LoadAsync(Uri uri, object userState)
- LoadAsync(Uri uri, int bitsPerPixel, CodecsLoadByteOrder order, int firstPage, int lastPage, object userState)
- LoadAsync(Uri uri, LeadRect tile, object userState)
- LoadAsync(Uri uri, LeadRect tile, int bitsPerPixel, CodecsLoadByteOrder order, int firstPage, int lastPage, object userState)
- Save(RasterImage image, Uri uri, RasterImageFormat format, int bitsPerPixel)
- Save(RasterImage image, Uri uri, RasterImageFormat format, int bitsPerPixel, int firstPage, int lastPage)
To change the authentication information to use when accessing a remote resource, use the UriOperationCredentials property.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)