Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Provides a location to define a single initialization argument for a hosted event provider.
Синтаксис
<Providers>
<HostedProvider>
...
<Arguments>
<Argument>
Element Characteristics
| Characteristic | Description |
|---|---|
Data type and length |
None. |
Default value |
None. |
Occurrence |
Required one or more times per Arguments element. |
Updates |
Can be added and deleted when updating the application. |
Element Relationships
| Relationship | Elements |
|---|---|
Parent element |
|
Child elements |
Замечания
Each hosted event provider may use required and optional arguments. For example, the standard file system watcher event provider requires three arguments (such as WatchDirectory) and has four optional arguments. If you are using a standard event provider, arguments are described in the Стандартные поставщики событий section. If you are using a custom event provider, the provider should include documentation about its arguments.
Пример
The following example shows an Argument element. It sets the value for an argument passed in to a hosted event provider.
<Argument>
<Name>PickupFile</Name>
<Value>C:\EventInput\events.txt</Value>
</Argument>
См. также
Справочник
Application Definition File Reference
Другие ресурсы
Определение внутрипроцессных поставщиков событий
Обновление экземпляров и приложений