HubConnectionBuilderHttpExtensions.WithUrl Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
WithUrl(IHubConnectionBuilder, String) |
belirtilen URL'ye HubConnection bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır. |
WithUrl(IHubConnectionBuilder, Uri) |
belirtilen URL'ye HubConnection bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır. |
WithUrl(IHubConnectionBuilder, String, HttpTransportType) |
HubConnection belirtilen URL'ye ve aktarımlara bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır. |
WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>) |
belirtilen URL'ye HubConnection bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır. |
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType) |
HubConnection belirtilen URL'ye ve aktarımlara bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır. |
WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>) |
belirtilen URL'ye HubConnection bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır. |
WithUrl(IHubConnectionBuilder, String, HttpTransportType, Action<HttpConnectionOptions>) |
HubConnection belirtilen URL'ye ve aktarımlara bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır. |
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType, Action<HttpConnectionOptions>) |
HubConnection belirtilen URL'ye ve aktarımlara bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır. |
WithUrl(IHubConnectionBuilder, String)
belirtilen URL'ye HubConnection bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String) As IHubConnectionBuilder
Parametreler
- hubConnectionBuilder
- IHubConnectionBuilder
IHubConnectionBuilder yapılandırılır.
- url
- String
kullanacağı URL HttpConnection .
Döndürülenler
Zincirleme için aynı IHubConnectionBuilder örneği.
Şunlara uygulanır
WithUrl(IHubConnectionBuilder, Uri)
belirtilen URL'ye HubConnection bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri) As IHubConnectionBuilder
Parametreler
- hubConnectionBuilder
- IHubConnectionBuilder
IHubConnectionBuilder yapılandırılır.
- url
- Uri
kullanacağı URL HttpConnection .
Döndürülenler
Zincirleme için aynı IHubConnectionBuilder örneği.
Şunlara uygulanır
WithUrl(IHubConnectionBuilder, String, HttpTransportType)
HubConnection belirtilen URL'ye ve aktarımlara bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string * Microsoft.AspNetCore.Http.Connections.HttpTransportType -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String, transports As HttpTransportType) As IHubConnectionBuilder
Parametreler
- hubConnectionBuilder
- IHubConnectionBuilder
IHubConnectionBuilder yapılandırılır.
- url
- String
kullanacağı URL HttpConnection .
- transports
- HttpTransportType
İstemcinin kullanması gereken aktarımları belirten bir veya daha fazla HttpTransportType değeri birleştiren bit maskesi.
Döndürülenler
Zincirleme için aynı IHubConnectionBuilder örneği.
Şunlara uygulanır
WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>)
belirtilen URL'ye HubConnection bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parametreler
- hubConnectionBuilder
- IHubConnectionBuilder
IHubConnectionBuilder yapılandırılır.
- url
- String
kullanacağı URL HttpConnection .
- configureHttpConnection
- Action<HttpConnectionOptions>
öğesini yapılandıran HttpConnectiontemsilci.
Döndürülenler
Zincirleme için aynı IHubConnectionBuilder örneği.
Şunlara uygulanır
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType)
HubConnection belirtilen URL'ye ve aktarımlara bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri * Microsoft.AspNetCore.Http.Connections.HttpTransportType -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri, transports As HttpTransportType) As IHubConnectionBuilder
Parametreler
- hubConnectionBuilder
- IHubConnectionBuilder
IHubConnectionBuilder yapılandırılır.
- url
- Uri
kullanacağı URL HttpConnection .
- transports
- HttpTransportType
İstemcinin kullanması gereken aktarımları belirten bir veya daha fazla HttpTransportType değeri birleştiren bit maskesi.
Döndürülenler
Zincirleme için aynı IHubConnectionBuilder örneği.
Şunlara uygulanır
WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>)
belirtilen URL'ye HubConnection bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parametreler
- hubConnectionBuilder
- IHubConnectionBuilder
IHubConnectionBuilder yapılandırılır.
- url
- Uri
kullanacağı URL HttpConnection .
- configureHttpConnection
- Action<HttpConnectionOptions>
öğesini yapılandıran HttpConnectiontemsilci.
Döndürülenler
Zincirleme için aynı IHubConnectionBuilder örneği.
Şunlara uygulanır
WithUrl(IHubConnectionBuilder, String, HttpTransportType, Action<HttpConnectionOptions>)
HubConnection belirtilen URL'ye ve aktarımlara bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string * Microsoft.AspNetCore.Http.Connections.HttpTransportType * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String, transports As HttpTransportType, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parametreler
- hubConnectionBuilder
- IHubConnectionBuilder
IHubConnectionBuilder yapılandırılır.
- url
- String
kullanacağı URL HttpConnection .
- transports
- HttpTransportType
İstemcinin kullanması gereken aktarımları belirten bir veya daha fazla HttpTransportType değeri birleştiren bit maskesi.
- configureHttpConnection
- Action<HttpConnectionOptions>
öğesini yapılandıran HttpConnectiontemsilci.
Döndürülenler
Zincirleme için aynı IHubConnectionBuilder örneği.
Şunlara uygulanır
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType, Action<HttpConnectionOptions>)
HubConnection belirtilen URL'ye ve aktarımlara bağlanmak için HTTP tabanlı aktarımları kullanacak şekilde yapılandırılır.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri * Microsoft.AspNetCore.Http.Connections.HttpTransportType * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri, transports As HttpTransportType, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parametreler
- hubConnectionBuilder
- IHubConnectionBuilder
IHubConnectionBuilder yapılandırılır.
- url
- Uri
kullanacağı URL HttpConnection .
- transports
- HttpTransportType
İstemcinin kullanması gereken aktarımları belirten bir veya daha fazla HttpTransportType değeri birleştiren bit maskesi.
- configureHttpConnection
- Action<HttpConnectionOptions>
öğesini yapılandıran HttpConnectiontemsilci.
Döndürülenler
Zincirleme için aynı IHubConnectionBuilder örneği.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin