WebServiceAttribute コンストラクタとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > WebServiceAttribute コンストラクタの意味・解説 

WebServiceAttribute コンストラクタ

WebServiceAttribute クラス新しインスタンス初期化します。

名前空間: System.Web.Services
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Dim instance As New WebServiceAttribute
public WebServiceAttribute ()
public:
WebServiceAttribute ()
public WebServiceAttribute ()
public function WebServiceAttribute ()
使用例使用例
<%@ WebService Language="VB" class=
 "ServerVariables"%>
 
Imports System
Imports System.Web.Services
Imports System.Web.Services.Protocols

<WebService(Namespace := "http://www.contoso.com/")>
 _
Public Class ServerVariables
    Inherits WebService

    <WebMethod(Description := "Returns the time as stored on
 the Server", _
        EnableSession := False)> _
    Public Function Time() As
 String
        
        Return Context.Timestamp.TimeOfDay.ToString()
    End Function
End Class

<%@ WebService Language="C#" class= "ServerVariables"%>
 
 using System;
 using System.Web.Services;
 using System.Web.Services.Protocols;
 
 [ WebService(Namespace="http://www.contoso.com/")]
 public class ServerVariables: WebService {
    [ WebMethod(Description="Returns the time as stored on the Server"
,EnableSession=false)]
    public string Time() {
       return Context.Timestamp.TimeOfDay.ToString();
    }
 }
 
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WebServiceAttribute クラス
WebServiceAttribute メンバ
System.Web.Services 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「WebServiceAttribute コンストラクタ」の関連用語

WebServiceAttribute コンストラクタのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



WebServiceAttribute コンストラクタのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS