BINDF Enumeration
Contains values that determine how a resource should be bound to a moniker.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaração
Public Enumeration BINDF
public enum BINDF
Members
Member name | Description | |
---|---|---|
BINDF_ASYNCHRONOUS | Indicates that the moniker should return immediately from BindToStorage or BindToObject. The actual result of the bind to an object or the bind to storage arrives asynchronously.
Note
If the client does not specify this flag, the bind operation will be synchronous and the client will not receive any data from the bind operation until the IMoniker.BindToStorage or IMoniker.BindToObject call returns.
|
|
BINDF_ASYNCSTORAGE | Indicates that the client application calling the BindToStorage method prefers that the storage and stream objects returned in OnDataAvailable return E_PENDING. This occurs when the client application references data not yet available through their read methods; the default behavior blocks until the data becomes available.
Note
This flag applies only to BINDF_ASYNCHRONUS operations. Asynchronous stream objects return E_PENDING while data is still downloading and return S_FALSE for the end of the file.
|
|
BINDF_NOPROGRESSIVERENDERING | Indicates that progressive rendering should not be allowed. | |
BINDF_OFFLINEOPERATION | Indicates that the moniker should be bound to the cached version of the resource. | |
BINDF_GETNEWESTVERSION | Indicates that the bind operation should retrieve the newest version of the data or object possible.
Note
For URL monikers, this flag maps to the WinInet API flag, INTERNET_FLAG_RELOAD, which forces a download of the requested resource.
|
|
BINDF_NOWRITECACHE | Indicates that the bind operation should not store retrieved data in the disk cache. BINDF_PULLDATA must also be specified to turn off the cache file generation when using the BindToStorage method. | |
BINDF_NEEDFILE | Indicates that the downloaded resource must be saved in the cache or a local file. | |
BINDF_PULLDATA | Indicates that the asynchronous moniker allows the client of BindToStorage to drive the bind operation by pulling the data. Otherwise, the moniker drives the operation by pushing the data to the client..
Note
When this flag is specified, new data is only read and downloaded after the client finishes downloading all data that is currently available. This means data is only downloaded for the client after the client does an Read operation that blocks or returns E_PENDING. When the client specifies this flag, the client must be sure to read all the data it can. This includes data that is not necessarily available yet. When the flag is not specified, the moniker continues downloading data and calls the client with OnDataAvailable whenever the new data is available. This flag applies only to BINDF_ASYNCHRONOUS bind operations.
|
|
BINDF_IGNORESECURITYPROBLEM | Indicates that security problems related to bad certificates and redirects between HTTP and HTTPS servers should be ignored. | |
BINDF_RESYNCHRONIZE | Indicates that the resource should be resynchronized.
Note
For URL monikers, this flag maps to the WinInet API flag, INTERNET_FLAG_RESYNCHRONIZE. This reloads an HTTP resource if the resource has been modified since the last time is ws downloaded. All File Transfer Protocol (FTP) and Gopher resources are reloaded.
|
|
BINDF_HYPERLINK | Indicates that hyperlinks are allowed. | |
BINDF_NO_UI | Indicates that the bind operation should not display any user interfaces. | |
BINDF_SILENTOPERATION | Indicates that the bind operation should be completed silently. No user interface or user notification should occur. | |
BINDF_PRAGMA_NO_CACHE | Indicates that the resource should not be stored in the Internet cache. | |
BINDF_GETCLASSOBJECT | Indicates that the class object should be retrieved. Otherwise, the class instance is retrieved. | |
BINDF_RESERVED_1 | Reserved. Do not use. | |
BINDF_FREE_THREADED | Reserved for future use. | |
BINDF_DIRECT_READ | Indicates that the client application does not need to know the exact size of the data available. The application is read directly from source. | |
BINDF_FORMS_SUBMIT | Indicates that this transaction should be handled as a forms submittal. | |
BINDF_GETFROMCACHE_IF_NET_FAIL | Indicates that the resource should be retrieved from the cache if the attempt to download the resource from the network fails. | |
BINDF_FROMURLMON | Indicates that the binding is from a URL moniker. This value was added for Microsoft Internet Explorer 5. | |
BINDF_FWD_BACK | Indicates that the moniker should bind to the copy of the resource that is currently in the Internet cache.
Note
If the requested item is not found in the Internet cache, the system will attempt to locate the resource on the network. This value maps to the Microsoft Win32 Internet API flag, INTERNET_FLAG_USE_CACHED_COPY.
|
|
BINDF_PREFERDEFAULTHANDLER | Indicates that the Urlmon.dll searches for temporary or permanent namespace handlers before it uses the default registered handler for particular protocols. This value changes this behavior by allowing the moniker client to specify that Urlmon.dll should look for and use the default system protocol first. | |
BINDF_ENFORCERESTRICTED |