SoapBindingStyle 열거형

정의

이 열거형이 적용되는 클래스 계층 구조 수준에서 XML Web services에 발생하는 작업 형식을 지정합니다.

public enum class SoapBindingStyle
public enum SoapBindingStyle
type SoapBindingStyle = 
Public Enum SoapBindingStyle
상속
SoapBindingStyle

필드

Default 0

WSDL(웹 서비스 설명 언어) 파일의 현재 계층 구조 수준에 대한 기본 작업 형식입니다.

Document 1

전송될 메시지는 문서 관련 메시지입니다.

Rpc 2

전송될 메시지에는 프로시저를 호출할 매개 변수가 포함되거나 해당 프로시저의 반환 값이 포함됩니다. RPC는 "원격 프로시저 호출(remote procedure call)"을 의미합니다.

예제

SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding->Style = SoapBindingStyle::Document;

// Add the 'SoapBinding' object to the 'Binding' object.
myBinding->Extensions->Add( mySoapBinding );
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding.Style = SoapBindingStyle.Document;
// Add the 'SoapBinding' object to the 'Binding' object.
myBinding.Extensions.Add(mySoapBinding);
Dim mySoapBinding As New SoapBinding()
mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"
mySoapBinding.Style = SoapBindingStyle.Document
' Add the 'SoapBinding' object to the 'Binding' object.
myBinding.Extensions.Add(mySoapBinding)

설명

이 열거형을 사용 하면 전송 될 메시지에 문서 지향 프로시저 관련 여부를 지정할 수 있습니다. 프로시저 관련 메시지 매개 변수를 포함 및 문서를 포함 하는 문서 지향 메시지 하는 동안 값을 반환 합니다.

적용 대상