public static TInterface CreateSecuredStatefulServiceProxy <TInterface>(string serviceName, ServicePartitionKey servicePartition, string thumbprint, string remoteThumbprint, string remoteCommonName) where TInterface : Microsoft.ServiceFabric.Services.Remoting.IService { return(CreateSecuredStatefulServiceProxy <TInterface>(ServiceAddress.ServiceFabricUri(serviceName), servicePartition, thumbprint, remoteThumbprint, remoteCommonName)); }