C# Класс TableauServerRequestBase, TabMigrate

Base class on top of which requests to Tableau Server are based
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
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