C# 클래스 TableauServerRequestBase, TabMigrate

Base class on top of which requests to Tableau Server are based
파일 보기 프로젝트 열기: tableau/TabMigrate 1 사용 예제들

보호된 메소드들

메소드 설명
AssertTemplateFullyReplaced ( string text ) : void

Debugging function: Allows us to test that all of our content was replaced

GetWebResponseAsText ( WebResponse response ) : string

Gets the web response as a XML document

GetWebResponseAsXml ( WebResponse response ) : XmlDocument

Gets the web response as a XML document

SendPostContents ( WebRequest request, string bodyText ) : void

Sends the body text up to the server

SendPutContents ( WebRequest request, string bodyText ) : void

Sends the body text up to the server, using the PUT method

비공개 메소드들

메소드 설명
SendHttpRequestContents_Inner ( WebRequest request, string bodyText, string httpMethod = "POST" ) : void

Sends the body text up to the server

메소드 상세

AssertTemplateFullyReplaced() 보호된 메소드

Debugging function: Allows us to test that all of our content was replaced
protected AssertTemplateFullyReplaced ( string text ) : void
text string
리턴 void

GetWebResponseAsText() 보호된 정적인 메소드

Gets the web response as a XML document
protected static GetWebResponseAsText ( WebResponse response ) : string
response WebResponse
리턴 string

GetWebResponseAsXml() 보호된 정적인 메소드

Gets the web response as a XML document
protected static GetWebResponseAsXml ( WebResponse response ) : XmlDocument
response WebResponse
리턴 System.Xml.XmlDocument

SendPostContents() 보호된 정적인 메소드

Sends the body text up to the server
protected static SendPostContents ( WebRequest request, string bodyText ) : void
request WebRequest
bodyText string
리턴 void

SendPutContents() 보호된 정적인 메소드

Sends the body text up to the server, using the PUT method
protected static SendPutContents ( WebRequest request, string bodyText ) : void
request WebRequest
bodyText string
리턴 void