You're only required to name the protocol you want your application to handle ..
For over a decade, Internet Explorer has enabled developers to extend the browser with new URL protocol schemes. These protocols can be one of two types:
- Asynchronous Pluggable Protocols - COM objects that implement the IInternetProtocolRoot interface and return content to URLMon, usually for rendering content inside of Internet Explorer or Web Browser controls
- Application Protocols - launch a program outside of Internet Explorer when invoked.
以上的两类应该还是传统的additonal protocol
Updates for Windows 8
On Windows 8, Apps may use their manifest to register to handle protocols. Protocol activation APIs are more cleanly implemented in Metro-style apps-- a Metro-style app will always know when it is being activated to handle a command provided by a protocol invocation.
在win 8上,程序可以使用manifest来注册协议处理器,通过协议激活应用的方式也适合与Metro风格的程序。而且Metro风格的程序本来就有具备通过Protoco://command的方式来执行特定功能的特性,特别有利于Share某个特定界面/
如果要深入了解win8 Metro app的protocol定义,参考:http://tozon.info/blog/post/2011/10/06/Windows-8-Metro-declarations-Protocol.aspx
参考资料:
Windows 8 Metro declarations: User Tile Provider
windows 8上Metro 程序的User tile Provider服务Service
http://tozon.info/blog/post/2011/10/18/Windows-8-Metro-declarations-User-Tile-Provider.aspx
win 8三个user protocol and application