Make a class visible in the Type Selector dialog when Configuring Pipeline Handlers in the Policy Injection Application Block
2008-03-20 11:21
627 查看
The Custom Call Handler entry allows you to configure any custom handler class you create. The configuration editor creates an entry in the configuration that contains the name and the class type, plus all the attributes you enter in the EditableKeyValue Collection Editor dialog box. These values are all available to the custom handler at run time through a NameValueCollection passed to the custom class.
Only classes that implement the ICallHandler interface and carry the attribute [ConfigurationElementType(typeof(CustomCallHandlerData))] will be visible in the Type Selector dialog box and available for configuration with Enterprise Library Configuration Console or Visual Studio Configuration Editor.
Only classes that implement the ICallHandler interface and carry the attribute [ConfigurationElementType(typeof(CustomCallHandlerData))] will be visible in the Type Selector dialog box and available for configuration with Enterprise Library Configuration Console or Visual Studio Configuration Editor.
相关文章推荐
- Make a class visible in the Type Selector dialog when Configuring Matching Rules in the Policy Injection Application Block
- [原创]Enterprise Library Policy Injection Application Block 之三:PIAB的扩展—创建自定义CallHandler(提供Source Code下载)
- How to block USB Thumb Drives and USB Hard Drives, but allow specific USB Drives in the Application and Device Control Policy in Symantec Endpoint Pro
- Enterprise Library Policy Injection Application Block 之三:PIAB的扩展—创建自定义CallHandler(提供Source Code下载)
- This error is raised because the column 'type' is reserved for storing the class in case of inheritance
- 关于android创建对话框报错The method setPositiveButton(int, DialogInterface.OnClickListener) in the type Alert
- 解决The constructor ClassPathXmlApplicationContext(String...) refers to the missing type BeansExc
- The constructor ClassPathXmlApplicationContext(String) refers to the missing type
- The method setPositiveButton(int, DialogInterface.OnClickListener) in the type AlertDialog.Builder i
- What is the Difference Between Type and Class in
- Patent application title: Fa Assignment Method, Fa Assignment Module and Policy Server in the Wirele
- Unhandled Error in Silverlight Application, code 2103 when changing the namespace
- Build your own CAB(Composite Application Block) Part #2 – The Humble Dialog Box
- A specialized type definition is necessary in class when serialization is involved.(涉及Serialzation的类中需要强制类型的声明来“引导”非强类型集合)
- System.Exception when running SearchAsync of Contacts in application_launching event handler 未处理Exception
- Always set the "applicationName" property when configuring ASP.NET 2.0 Membership and other Providers
- The distinguish of module , class when nested in ruby
- Handler "BlockViewHandler" has a bad module "ManagedPipelineHandler" in its module list
- No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath
- 错误:created a ThreadLocal with key of type ……but failed to remove it when the web application was stopped. This is very likely to create a memory leak.