PortType.ServiceDescription プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > PortType.ServiceDescription プロパティの意味・解説 

PortType.ServiceDescription プロパティ

PortType がメンバとして含まれている ServiceDescription を取得します

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

Public ReadOnly Property
 ServiceDescription As ServiceDescription
Dim instance As PortType
Dim value As ServiceDescription

value = instance.ServiceDescription
public ServiceDescription ServiceDescription { get;
 }
public:
property ServiceDescription^ ServiceDescription {
    ServiceDescription^ get ();
}
/** @property */
public ServiceDescription get_ServiceDescription ()
public function get ServiceDescription
 () : ServiceDescription

プロパティ
ServiceDescription

使用例使用例
Dim myPortTypeCollection As PortTypeCollection
Dim myServiceDescription As ServiceDescription
 = _
   ServiceDescription.Read("MathService_VB.wsdl")

myPortTypeCollection = myServiceDescription.PortTypes
Dim myPortType As PortType = myPortTypeCollection("MathServiceSoap")

' Get the ServiceDescription of myPortType.
Dim myPortTypeServiceDescription As ServiceDescription
 = _
   myPortType.ServiceDescription
Dim myMessageCollection As MessageCollection
 = _
   myPortTypeServiceDescription.Messages

Console.WriteLine("No. of messages in this ServiceDescription:
 " _
   & myMessageCollection.Count.ToString())

' Display all the messages.
Dim myMessage As Message
For Each myMessage In  myMessageCollection
   Console.WriteLine("Message: " & myMessage.Name)
Next myMessage 
PortTypeCollection myPortTypeCollection;
ServiceDescription myServiceDescription =
   ServiceDescription.Read("MathService_CS.wsdl");

myPortTypeCollection = myServiceDescription.PortTypes;
PortType myPortType = myPortTypeCollection["MathServiceSoap"];

// Get the ServiceDescription of myPortType.
ServiceDescription myPortTypeServiceDescription = 
   myPortType.ServiceDescription;
MessageCollection myMessageCollection = 
   myPortTypeServiceDescription.Messages;
                             
Console.WriteLine("No. of messages in this
 ServiceDescription: "
   + myMessageCollection.Count);

// Display all the messages.
foreach(Message myMessage in myMessageCollection)
   Console.WriteLine("Message: " + myMessage.Name);
PortTypeCollection^ myPortTypeCollection;
ServiceDescription^ myServiceDescription = ServiceDescription::Read( "MathService_Cpp.wsdl"
 );
myPortTypeCollection = myServiceDescription->PortTypes;
PortType^ myPortType = myPortTypeCollection[ "MathServiceSoap" ];

// Get the ServiceDescription of myPortType.
ServiceDescription^ myPortTypeServiceDescription = myPortType->ServiceDescription;
MessageCollection^ myMessageCollection = myPortTypeServiceDescription->Messages;
Console::WriteLine( "No. of messages in this
 ServiceDescription: {0}", myMessageCollection->Count );

// Display all the messages.
   for each(Message^ myMessage in myMessageCollection)
      Console::WriteLine("Message: " + myMessage->Name);
PortTypeCollection myPortTypeCollection;
ServiceDescription myServiceDescription = ServiceDescription.Read(
    "MathService_JSL.wsdl");

myPortTypeCollection = myServiceDescription.get_PortTypes();
PortType myPortType = myPortTypeCollection.get_Item(
    "MathServiceSoap");
// Get the ServiceDescription of myPortType.
ServiceDescription myPortTypeServiceDescription = 
    myPortType.get_ServiceDescription();
MessageCollection myMessageCollection = 
    myPortTypeServiceDescription.get_Messages();

Console.WriteLine("No. of messages in this
 ServiceDescription: " 
    + myMessageCollection.get_Count());

// Display all the messages.
for (int iCtr = 0; iCtr < myMessageCollection.get_Count();
 iCtr++) {
    Message myMessage = myMessageCollection.get_Item(iCtr);
    Console.WriteLine("Message: " + myMessage.get_Name());
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PortType クラス
PortType メンバ
System.Web.Services.Description 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からPortType.ServiceDescription プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からPortType.ServiceDescription プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からPortType.ServiceDescription プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

PortType.ServiceDescription プロパティのお隣キーワード
検索ランキング

   

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



PortType.ServiceDescription プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS