UrlIdentityPermissionAttribute.Url 属性

定义

获取或设置调用代码的完整 URL。

public:
 property System::String ^ Url { System::String ^ get(); void set(System::String ^ value); };
public string Url { get; set; }
member this.Url : string with get, set
Public Property Url As String

属性值

String

要与主应用程序所指定 URL 匹配的 URL。

注解

考虑完整的 URL,包括协议 (HTTP、HTTPS、FTP) 和文件,例如: http://www.fourthcoffee.com/process/grind.htm/

URL 可以完全匹配,也可以由最终位置的通配符进行匹配,例如: http://www.fourthcoffee.com/process/*

适用于