다음을 통해 공유


NetworkOperatorTetheringManager.StartTetheringAsync 메서드

정의

오버로드

StartTetheringAsync()

테더링 네트워크를 설정합니다.

테더링 핫스팟이 꺼져 있는지 확인하기 위해 먼저 StopTetheringAsync 를 호출하는 것이 좋습니다.

StartTetheringAsync(NetworkOperatorTetheringSessionAccessPointConfiguration)

지정된 세션별 구성을 사용하여 모바일 핫스팟을 시작합니다.

이 오버로드를 사용하면 ConfigureAccessPointAsync를 통해 미리 구성하지 않고도 테더링 세션을 시작할 수 있습니다. 매개 변수로 전달된 구성은 현재 세션에 대해서만 유효하며 세션이 종료되면 손실됩니다.

StartTetheringAsync의 이 오버로드를 통해 새 세션을 시작하면 ConfigureAccessPointAsync를 통해 영구적으로 설정할 수 없는 세션별 전용 매개 변수를 구성할 수도 있습니다. 유지할 있는 매개 변수는 네트워크 SSID, 네트워크 암호, 네트워크 무선 주파수 대역 및 네트워크 인증 알고리즘입니다.

테더링 핫스팟이 꺼져 있는지 확인하기 위해 먼저 StopTetheringAsync 를 호출하는 것이 좋습니다.

StartTetheringAsync()

테더링 네트워크를 설정합니다.

테더링 핫스팟이 꺼져 있는지 확인하기 위해 먼저 StopTetheringAsync 를 호출하는 것이 좋습니다.

public:
 virtual IAsyncOperation<NetworkOperatorTetheringOperationResult ^> ^ StartTetheringAsync() = StartTetheringAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<NetworkOperatorTetheringOperationResult> StartTetheringAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<NetworkOperatorTetheringOperationResult> StartTetheringAsync();
function startTetheringAsync()
Public Function StartTetheringAsync () As IAsyncOperation(Of NetworkOperatorTetheringOperationResult)

반환

테더링 네트워크 작업의 결과입니다.

특성

Windows 요구 사항

앱 기능
wiFiControl

적용 대상

StartTetheringAsync(NetworkOperatorTetheringSessionAccessPointConfiguration)

지정된 세션별 구성을 사용하여 모바일 핫스팟을 시작합니다.

이 오버로드를 사용하면 ConfigureAccessPointAsync를 통해 미리 구성하지 않고도 테더링 세션을 시작할 수 있습니다. 매개 변수로 전달된 구성은 현재 세션에 대해서만 유효하며 세션이 종료되면 손실됩니다.

StartTetheringAsync의 이 오버로드를 통해 새 세션을 시작하면 ConfigureAccessPointAsync를 통해 영구적으로 설정할 수 없는 세션별 전용 매개 변수를 구성할 수도 있습니다. 유지할 있는 매개 변수는 네트워크 SSID, 네트워크 암호, 네트워크 무선 주파수 대역 및 네트워크 인증 알고리즘입니다.

테더링 핫스팟이 꺼져 있는지 확인하기 위해 먼저 StopTetheringAsync 를 호출하는 것이 좋습니다.

public:
 virtual IAsyncOperation<NetworkOperatorTetheringOperationResult ^> ^ StartTetheringAsync(NetworkOperatorTetheringSessionAccessPointConfiguration ^ configuration) = StartTetheringAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<NetworkOperatorTetheringOperationResult> StartTetheringAsync(NetworkOperatorTetheringSessionAccessPointConfiguration const& configuration);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<NetworkOperatorTetheringOperationResult> StartTetheringAsync(NetworkOperatorTetheringSessionAccessPointConfiguration configuration);
function startTetheringAsync(configuration)
Public Function StartTetheringAsync (configuration As NetworkOperatorTetheringSessionAccessPointConfiguration) As IAsyncOperation(Of NetworkOperatorTetheringOperationResult)

매개 변수

configuration
NetworkOperatorTetheringSessionAccessPointConfiguration

모바일 핫스팟을 구성하는 데 필요한 모든 세션별 필드를 포함하는 NetworkOperatorTetheringSessionAccessPointConfiguration 개체입니다. 이 구성은 세션 간에 유지되지 않습니다.

반환

TetheringOperationStatus가 포함된 개체는 시작 작업이 성공했는지 또는 실패 이유를 나타내는 코드와 해당하는 경우 추가 오류 메시지가 포함된 자세한 HSTRING을 상태.

특성

Windows 요구 사항

디바이스 패밀리
Windows 11 Insider Preview (10.0.26100.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v19.0에서 도입되었습니다.)
앱 기능
wiFiControl

적용 대상