Ejemplo n.º 1
0
        /// <summary>Snippet for GetTableAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task GetTableAsync()
        {
            // Create client
            TablesServiceClient tablesServiceClient = await TablesServiceClient.CreateAsync();

            // Initialize request argument(s)
            string name = "tables/[TABLE]";
            // Make the request
            Table response = await tablesServiceClient.GetTableAsync(name);
        }
Ejemplo n.º 2
0
        /// <summary>Snippet for GetTableAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task GetTableResourceNamesAsync()
        {
            // Create client
            TablesServiceClient tablesServiceClient = await TablesServiceClient.CreateAsync();

            // Initialize request argument(s)
            TableName name = TableName.FromTable("[TABLE]");
            // Make the request
            Table response = await tablesServiceClient.GetTableAsync(name);
        }
Ejemplo n.º 3
0
        /// <summary>Snippet for GetTableAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task GetTableRequestObjectAsync()
        {
            // Create client
            TablesServiceClient tablesServiceClient = await TablesServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetTableRequest request = new GetTableRequest
            {
                TableName = TableName.FromTable("[TABLE]"),
            };
            // Make the request
            Table response = await tablesServiceClient.GetTableAsync(request);
        }
Ejemplo n.º 4
0
        /// <summary>Snippet for GetTableAsync</summary>
        public async Task GetTableAsync()
        {
            // Snippet: GetTableAsync(string, CallSettings)
            // Additional: GetTableAsync(string, CancellationToken)
            // Create client
            TablesServiceClient tablesServiceClient = await TablesServiceClient.CreateAsync();

            // Initialize request argument(s)
            string name = "";
            // Make the request
            Table response = await tablesServiceClient.GetTableAsync(name);

            // End snippet
        }
Ejemplo n.º 5
0
        /// <summary>Snippet for GetTableAsync</summary>
        public async Task GetTableResourceNamesAsync()
        {
            // Snippet: GetTableAsync(TableName, CallSettings)
            // Additional: GetTableAsync(TableName, CancellationToken)
            // Create client
            TablesServiceClient tablesServiceClient = await TablesServiceClient.CreateAsync();

            // Initialize request argument(s)
            TableName name = TableName.FromTable("[TABLE]");
            // Make the request
            Table response = await tablesServiceClient.GetTableAsync(name);

            // End snippet
        }
Ejemplo n.º 6
0
        /// <summary>Snippet for GetTableAsync</summary>
        public async Task GetTableRequestObjectAsync()
        {
            // Snippet: GetTableAsync(GetTableRequest, CallSettings)
            // Additional: GetTableAsync(GetTableRequest, CancellationToken)
            // Create client
            TablesServiceClient tablesServiceClient = await TablesServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetTableRequest request = new GetTableRequest {
                Name = "",
            };
            // Make the request
            Table response = await tablesServiceClient.GetTableAsync(request);

            // End snippet
        }