WebServicesInteroperability.CheckConformance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Verifies whether a given Web service or services conforms to a given WS-I specification, and provides a list of any violations that it finds.
Overloads
CheckConformance(WsiProfiles, ServiceDescription, BasicProfileViolationCollection) |
Verifies whether a given Web service or services conforms to a given WS-I specification, and provides a list of any violations that it finds. |
CheckConformance(WsiProfiles, ServiceDescriptionCollection, BasicProfileViolationCollection) |
Verifies whether a given Web service or services conforms to a given WS-I specification, and provides a list of any violations that it finds. |
CheckConformance(WsiProfiles, WebReference, BasicProfileViolationCollection) |
Verifies whether a given Web service or services conforms to a given WS-I specification, and provides a list of any violations that it finds. |
Remarks
The WS-I publishes non-proprietary Web services specifications to promote the interoperability of Web services across platforms.
CheckConformance(WsiProfiles, ServiceDescription, BasicProfileViolationCollection)
Verifies whether a given Web service or services conforms to a given WS-I specification, and provides a list of any violations that it finds.
public:
static bool CheckConformance(System::Web::Services::WsiProfiles claims, System::Web::Services::Description::ServiceDescription ^ description, System::Web::Services::Description::BasicProfileViolationCollection ^ violations);
public static bool CheckConformance (System.Web.Services.WsiProfiles claims, System.Web.Services.Description.ServiceDescription description, System.Web.Services.Description.BasicProfileViolationCollection violations);
static member CheckConformance : System.Web.Services.WsiProfiles * System.Web.Services.Description.ServiceDescription * System.Web.Services.Description.BasicProfileViolationCollection -> bool
Public Shared Function CheckConformance (claims As WsiProfiles, description As ServiceDescription, violations As BasicProfileViolationCollection) As Boolean
Parameters
- claims
- WsiProfiles
A member of WsiProfiles that indicates a Web services interoperability specification.
- description
- ServiceDescription
A ServiceDescription that describes a Web service.
- violations
- BasicProfileViolationCollection
A BasicProfileViolationCollection that contains any violations that were found.
Returns
true
if the Web service described by description
conforms to the Web services interoperability specification indicated by claims
; otherwise false
.
Remarks
The WS-I publishes non-proprietary Web services specifications to promote the interoperability of Web services across platforms.
Applies to
CheckConformance(WsiProfiles, ServiceDescriptionCollection, BasicProfileViolationCollection)
Verifies whether a given Web service or services conforms to a given WS-I specification, and provides a list of any violations that it finds.
public:
static bool CheckConformance(System::Web::Services::WsiProfiles claims, System::Web::Services::Description::ServiceDescriptionCollection ^ descriptions, System::Web::Services::Description::BasicProfileViolationCollection ^ violations);
public static bool CheckConformance (System.Web.Services.WsiProfiles claims, System.Web.Services.Description.ServiceDescriptionCollection descriptions, System.Web.Services.Description.BasicProfileViolationCollection violations);
static member CheckConformance : System.Web.Services.WsiProfiles * System.Web.Services.Description.ServiceDescriptionCollection * System.Web.Services.Description.BasicProfileViolationCollection -> bool
Public Shared Function CheckConformance (claims As WsiProfiles, descriptions As ServiceDescriptionCollection, violations As BasicProfileViolationCollection) As Boolean
Parameters
- claims
- WsiProfiles
A member of WsiProfiles that indicates a Web services interoperability specification.
- descriptions
- ServiceDescriptionCollection
A ServiceDescriptionCollection that contains Web service descriptions.
- violations
- BasicProfileViolationCollection
A BasicProfileViolationCollection that contains any violations that were found.
Returns
true
if the Web service descriptions contained in descriptions
conform to the Web services interoperability specification indicated by claims
; false
otherwise.
Remarks
The WS-I publishes non-proprietary Web services specifications to promote the interoperability of Web services across platforms.
Applies to
CheckConformance(WsiProfiles, WebReference, BasicProfileViolationCollection)
Verifies whether a given Web service or services conforms to a given WS-I specification, and provides a list of any violations that it finds.
public:
static bool CheckConformance(System::Web::Services::WsiProfiles claims, System::Web::Services::Description::WebReference ^ webReference, System::Web::Services::Description::BasicProfileViolationCollection ^ violations);
public static bool CheckConformance (System.Web.Services.WsiProfiles claims, System.Web.Services.Description.WebReference webReference, System.Web.Services.Description.BasicProfileViolationCollection violations);
static member CheckConformance : System.Web.Services.WsiProfiles * System.Web.Services.Description.WebReference * System.Web.Services.Description.BasicProfileViolationCollection -> bool
Public Shared Function CheckConformance (claims As WsiProfiles, webReference As WebReference, violations As BasicProfileViolationCollection) As Boolean
Parameters
- claims
- WsiProfiles
A member of WsiProfiles that indicates a Web services interoperability specification.
- webReference
- WebReference
A WebReference that describes a Web service.
- violations
- BasicProfileViolationCollection
A BasicProfileViolationCollection that contains any violations that were found.
Returns
true
if the Web service described by webReference
conforms to the Web services interoperability specification indicated by claims
; false
otherwise.
Remarks
The WS-I publishes non-proprietary Web services specifications to promote the interoperability of Web services across platforms.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈