2 writes to ClientCredentialType
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpTransportSecurity.cs (1)
112
transportSecurity.
ClientCredentialType
= HttpClientCredentialType.Certificate;
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpSecurity.cs (1)
34
transportSecurity.
ClientCredentialType
= HttpClientCredentialType.Windows;
24 references to ClientCredentialType
dotnet-svcutil-lib (24)
CodeDomFixup\MethodCreationHelper.cs (12)
352
if (defaultBinding.Security.Transport.
ClientCredentialType
!= wsHttp.Security.Transport.
ClientCredentialType
)
363
wsHttp.Security.Transport.
ClientCredentialType
.ToString())));
493
if (defaultBinding.Security.Transport.
ClientCredentialType
!= ws2007Http.Security.Transport.
ClientCredentialType
)
504
ws2007Http.Security.Transport.
ClientCredentialType
.ToString())));
1943
if (defaultBinding.Security.Transport.
ClientCredentialType
!= basicHttp.Security.Transport.
ClientCredentialType
)
1954
basicHttp.Security.Transport.
ClientCredentialType
.ToString())));
2060
if (defaultBinding.Security.Transport.
ClientCredentialType
!= netHttp.Security.Transport.
ClientCredentialType
)
2071
netHttp.Security.Transport.
ClientCredentialType
.ToString())));
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpBinding.cs (2)
107
BasicHttpSecurity.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
109
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.HttpClientCredentialTypeInvalid, BasicHttpSecurity.Transport.
ClientCredentialType
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsBinding.cs (2)
63
BasicHttpSecurity.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
65
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.HttpClientCredentialTypeInvalid, BasicHttpSecurity.Transport.
ClientCredentialType
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpBindingBase.cs (2)
328
if (transport?.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
330
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRServiceModel.UnsupportedSecuritySetting, "Transport.ClientCredentialType", transport.
ClientCredentialType
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (2)
116
this.BasicHttpSecurity.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
118
throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.HttpClientCredentialTypeInvalid, this.BasicHttpSecurity.Transport.
ClientCredentialType
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpsBinding.cs (2)
73
BasicHttpSecurity.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
75
throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.HttpClientCredentialTypeInvalid, BasicHttpSecurity.Transport.
ClientCredentialType
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBinding.cs (2)
82
_security.Transport.
ClientCredentialType
== HttpClientCredentialType.InheritedFromHost)
84
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.HttpClientCredentialTypeInvalid, _security.Transport.
ClientCredentialType
)));