Share via


ComMethodElement.ExposedMethod 屬性

定義

取得 COM+ 方法,這個方法會在 COM+ 元件上的介面公開為 Web 服務時公開。

public:
 property System::String ^ ExposedMethod { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("exposedMethod", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)]
[System.Configuration.StringValidator(MinLength=1)]
public string ExposedMethod { get; set; }
[<System.Configuration.ConfigurationProperty("exposedMethod", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.ExposedMethod : string with get, set
Public Property ExposedMethod As String

屬性值

COM+ 方法的名稱,這個方法會在 COM+ 元件上的介面公開為 Web 服務時公開。

屬性

適用於