C# 클래스 TableauServerSignedInRequestBase, TabMigrate

Abstract class for making requests AFTER having logged into the server
상속: TableauServerRequestBase
파일 보기 프로젝트 열기: tableau/TabMigrate

보호된 프로퍼티들

프로퍼티 타입 설명
_onlineSession TableauServerSignIn,

공개 메소드들

메소드 설명
TableauServerSignedInRequestBase ( TableauServerSignIn, login ) : System

Constructor

보호된 메소드들

메소드 설명
CreateAndSendMimeLoggedInRequest ( string url, string protocol, MimeWriterBase, mimeToSend, Nullable requestTimeout = null ) : WebRequest

Creates a web request with a MIME payload and send it to server

CreateLoggedInWebClient ( ) : WebClient

Web client class used for downloads from Tableau Server

CreateLoggedInWebRequest ( string url, string protocol = "GET", Nullable requestTimeout = null ) : WebRequest

Creates a web request and appends the user credential tokens necessary

DownloadFile ( string urlDownload, string downloadToDirectory, string baseFilename, DownloadPayloadTypeHelper, downloadTypeMapper ) : string

Download a file

GetWebReponseLogErrors ( WebRequest webRequest, string description ) : WebResponse

Get the web response; log any error codes that occur and rethrow the exception. This allows us to get error log data with detailed information

비공개 메소드들

메소드 설명
AppendLoggedInHeadersForRequest ( WebHeaderCollection webHeaders ) : void

Adds header information that authenticates the request to Tableau Online

AttemptToLogWebException ( WebException webException, string description, TaskStatusLogs, onlineStatusLog ) : void

Attempt to log any detailed information we find about the failed web request

DownloadFile_inner ( string urlDownload, string downloadToDirectory, string baseFilename, DownloadPayloadTypeHelper, downloadTypeMapper ) : string

Downloads a file

메소드 상세

CreateAndSendMimeLoggedInRequest() 보호된 메소드

Creates a web request with a MIME payload and send it to server
protected CreateAndSendMimeLoggedInRequest ( string url, string protocol, MimeWriterBase, mimeToSend, Nullable requestTimeout = null ) : WebRequest
url string
protocol string e.g. "PUT" "POST"
mimeToSend MimeWriterBase, Mime data we are goign to send
requestTimeout Nullable
리턴 WebRequest

CreateLoggedInWebClient() 보호된 메소드

Web client class used for downloads from Tableau Server
protected CreateLoggedInWebClient ( ) : WebClient
리턴 WebClient

CreateLoggedInWebRequest() 보호된 메소드

Creates a web request and appends the user credential tokens necessary
protected CreateLoggedInWebRequest ( string url, string protocol = "GET", Nullable requestTimeout = null ) : WebRequest
url string
protocol string
requestTimeout Nullable Useful for specifying timeouts for operations that can take a long time
리턴 WebRequest

DownloadFile() 보호된 메소드

Download a file
protected DownloadFile ( string urlDownload, string downloadToDirectory, string baseFilename, DownloadPayloadTypeHelper, downloadTypeMapper ) : string
urlDownload string
downloadToDirectory string
baseFilename string
downloadTypeMapper DownloadPayloadTypeHelper,
리턴 string

GetWebReponseLogErrors() 보호된 메소드

Get the web response; log any error codes that occur and rethrow the exception. This allows us to get error log data with detailed information
protected GetWebReponseLogErrors ( WebRequest webRequest, string description ) : WebResponse
webRequest WebRequest
description string
리턴 WebResponse

TableauServerSignedInRequestBase() 공개 메소드

Constructor
public TableauServerSignedInRequestBase ( TableauServerSignIn, login ) : System
login TableauServerSignIn,
리턴 System

프로퍼티 상세

_onlineSession 보호되어 있는 프로퍼티

protected TableauServerSignIn, _onlineSession
리턴 TableauServerSignIn,